-
My team built a database with Keystone 6 and we would like to put custom values in the ID field of our tables.
This field has all the properties we would want from a primary key for the table, so we find the auto-generated ID field unnecessary, and would like to customize it to be the same as Based on some discussions about this topic I found from Keystone 5 days, I've attempted setting an id field in our schema using the following syntax
However, I received this error: I also tried the Is there another way of customizing the ID field? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ksemanur8, Did you review the Custom ID example? |
Beta Was this translation helpful? Give feedback.
Hi @ksemanur8,
Did you review the Custom ID example?
Although I conceptually agree with your intuition that
id
should be listed underfields
, the current versions of@keystone-6/core
don't support that.