-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Root type identifier #359
Comments
Unfortunately |
That might be something we can change. I'll investigate as I want |
That would be great. One thing that also worth considering is not to stick to requiring the id field to be of type Lines 154 to 167 in 1ee335c
Moreover it maybe useful to allow specifying id field name per root entity as different entities may have different id fields, eg. some called |
As mentioned in documentation,
Our schema:
Is generated model.base:
For specific business purposes we can't use an
id
field as an identifier. In our case, we have a filed calledkey
which is an identifier, but the object is not considered as aroot type
. Is there any way to specify that identifier field should not only to be anid
for detecting root types?The text was updated successfully, but these errors were encountered: