Args and Outputs vs Nested Relations #368
multipliedtwice
started this conversation in
General
Replies: 1 comment 4 replies
-
This library is GraphQL oriented. If you want to mimic REST "fetch-all" approach, you need to find another project or stop using GraphQL 😄 |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thank you for the great library, really cool one. Could you please help me to figure out how to do 2 things:
Generated Args types
How can I generate args types with "include" field relations?
Generated Outputs
How can I generate relations together with "@field" decorator? Extending it doesn't really work because the key that I trying to add already exists. And changing the original key is unnecessary overhead. So I usually copy-paste the generated file and add @field manually to the custom copy.
What would be the best way to have relations for "GET"-kind of requests?
Beta Was this translation helpful? Give feedback.
All reactions