payload type where one of the fields is a Query #829
Unanswered
louisholley
asked this question in
Q&A
Replies: 1 comment 4 replies
-
That was discussed a few times already - please use search capabilities of the GitHub repo. Basically, it won't be supported as it's an antipattern. |
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
-
Describe the issue
apologies if this isn't the right category but there is nothing I could find on this in the docs so I assume it is. I want to define a payload type where one of the fields is a gql query, which would look like this if I was writing the schema directly:
but not entirely sure how to achieve this with type-graphql...would I need to define a custom type to represent Query?
Are you able to make a PR that fix this?
wouldn't know where to start unfortunately!
Beta Was this translation helpful? Give feedback.
All reactions