Skip to content

[Plugin Request] Option to auto generate all queries/mutations/fragments from a schema #2349

Answered by dotansimha
user471 asked this question in General
Discussion options

You must be logged in to vote

At the moment, no updates on this issue.

If someone really needs it, you can use buildOperationNodeForField from @graphql-toolkit/common (https://github.com/ardatan/graphql-toolkit/blob/master/packages/common/src/build-operation-for-field.ts). You can find an example for using it here: https://github.com/Urigo/graphql-mesh/blob/77311327ee1ba246adafd71dcbd3f658f8750305/packages/runtime/src/utils.ts#L153

PRs are welcome ;)

Replies: 15 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@amcdnl
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@valerii15298
Comment options

Answer selected by dotansimha
Comment options

You must be logged in to vote
4 replies
@tamsanh
Comment options

@sc0ttdav3y
Comment options

@taffit
Comment options

@behnam-io
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #2349 on May 18, 2020 15:55.