Rename "primary key" #419
Replies: 3 comments 3 replies
-
Thanks @dichotommy ! PrimaryKey is a massively known field thanks to the SQL systems. Since we are not a SQL db, we could decide to deviate from it in order to be clearer about its usage, why not call it |
Beta Was this translation helpful? Give feedback.
-
I'm not strongly against the
Saying this, if everyone is ok with this change, I will follow you 😇 As I said, despite my arguments, I'm not strongly against this change. My main concern is maybe about the 3rd point (the real impact of this huge breaking) |
Beta Was this translation helpful? Give feedback.
-
Checked with @gmourier, after reading your comments (thanks a lot for these), we decided not to change the primary key name in v0.28.0. Too much impactful breaking for a low user-experience impact. The discussion is not close forever, you can keep discussing. It's only closed for v0.28.0 so probably (99% sure) v1 |
Beta Was this translation helpful? Give feedback.
-
IMO it's confusing to have something called "primary key" that is not at all related to API keys, authorization, or the keys endpoint. It would at least make sense if we used "key" often in the sense of "key: value", but at least on the docs we currently prefer the term "attribute" (i.e. "attribute: value").
I would suggest "primary field" as a replacement name.
Beta Was this translation helpful? Give feedback.
All reactions