DGS CodeGen all fields #1519
Unanswered
andresmonc
asked this question in
Q&A
Replies: 1 comment
-
|
Unfortunately, we don't have that feature implemented yet. While it would be nice, in graphql, you do have to select all the fields explicitly in the request as well and the API mirrors that functionality. Adding an allFields API to the projection root is an option, but it does introduce conflicts in case there is a schema that uses the same name for their field, so we will need to be careful about that. |
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.
-
Is there a way to set all fields on a projection root? I have a huge graphql query that returns an object with a large amount of fields and many nested objects. Is there a way to just return everything?
new DealProjectionRoot<>().id()...;
Beta Was this translation helpful? Give feedback.
All reactions