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

cynic generate improvements #801

Open
obmarg opened this issue Jan 5, 2024 · 1 comment
Open

cynic generate improvements #801

obmarg opened this issue Jan 5, 2024 · 1 comment
Labels
💻 cli ✨ enhancement New feature or request

Comments

@obmarg
Copy link
Owner

obmarg commented Jan 5, 2024

cynic generate can currently be used to generate rust from a single query file and print it.

It could be updated to scan a particular directory for graphql files and then output rust files alongside those - either for bootstrapping purposes or because this is your preferred way of working with the library.

@obmarg obmarg mentioned this issue Jan 5, 2024
@obmarg obmarg added ✨ enhancement New feature or request 💻 cli labels Jan 5, 2024
@obmarg
Copy link
Owner Author

obmarg commented Jan 21, 2024

The readme over here documents how one project is currently using the generate command - worth bearing in mind for any improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 cli ✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant