Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate the queries file? #286

Closed
renardeinside opened this issue Mar 13, 2024 · 3 comments
Closed

How to generate the queries file? #286

renardeinside opened this issue Mar 13, 2024 · 3 comments
Labels
question Further information is requested waiting Waiting for action from OP

Comments

@renardeinside
Copy link

Hey team,

Thanks a lot for developing the library.

There is one thing which is quite unclear to me - what if I would like to have a client that can run any possible query?

Currently, if I understand correctly, the codegen will only cover the queries I've provided in the queries.graphql file, is there any way to have all possible queries generated?

@rafalp
Copy link
Contributor

rafalp commented Mar 13, 2024

is there any way to have all possible queries generated?

You mean you want to have queries that are products of all possible field combinations in your schema? Won't it be like millions of those?

@bombsimon
Copy link
Contributor

This sounds like the same as #132

@rafalp rafalp added waiting Waiting for action from OP question Further information is requested labels Mar 13, 2024
@renardeinside
Copy link
Author

Yes, this is exactly the same thing I'm looking for. I'll close this for now as a duplicate, but in general it seems like the generated API is a bit cumbersome since I cannot programmatically create a query (which would be a convenient option).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested waiting Waiting for action from OP
Projects
None yet
Development

No branches or pull requests

3 participants