You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where my model has a normal primary key which is an integer but I don't want to expose this value to consumers of the api. Instead I want the id attribute to be a separate column which is a uuid. Is this something this project could support?
My proposal would be to have a meta class defined on the model which tells us to use a different field rather than the primary key.
The text was updated successfully, but these errors were encountered:
I have a use case where my model has a normal primary key which is an integer but I don't want to expose this value to consumers of the api. Instead I want the id attribute to be a separate column which is a uuid. Is this something this project could support?
My proposal would be to have a meta class defined on the model which tells us to use a different field rather than the primary key.
The text was updated successfully, but these errors were encountered: