Originally posted by @AlmightyYakob in #138 (comment)
Since we now have a type selection UI, we could add a primaryKey type to our system, which would replace the following section in the first step:

We could remove this option from the first step, and just have it as another type in the column drop down in the second step. We would also likely default that to the _key field if it's there, or just the first column if it's not there.
There's important distinction from the rest of the types however, which is that there can only be one primary key column. We'd have to add some logic when it comes to selecting that type, and we'd need to create a new validation error on the server to handle multiple supplied primary keys, but those tasks seem fairly low-effort.
Originally posted by @AlmightyYakob in #138 (comment)
Since we now have a type selection UI, we could add a
primaryKeytype to our system, which would replace the following section in the first step:We could remove this option from the first step, and just have it as another type in the column drop down in the second step. We would also likely default that to the
_keyfield if it's there, or just the first column if it's not there.There's important distinction from the rest of the types however, which is that there can only be one primary key column. We'd have to add some logic when it comes to selecting that type, and we'd need to create a new validation error on the server to handle multiple supplied primary keys, but those tasks seem fairly low-effort.