Using the autogenerator to set the username as the id field #1170
Unanswered
djakaria21
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
We don't support any generation of documentation annotation in the current tooling and framework. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I'm assuming they generate their own data models when the mapping is different. We haven't invested in specifically supporting this scenario so far. What is the document annotation you are referring to? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I was trying to use mongodb with the dgs autogeneration tool but I wanted to set the id as the username instead of having an explicit id field. I was wondering if anyone knew how to make the annotations for setting up the generated object with the document annotation and being able to set a String as the id field instead of explicitly having an id field in the schema.
Beta Was this translation helpful? Give feedback.
All reactions