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

[Feature request] Multiple clients #310

Open
pkucmus opened this issue Aug 20, 2024 · 0 comments
Open

[Feature request] Multiple clients #310

pkucmus opened this issue Aug 20, 2024 · 0 comments

Comments

@pkucmus
Copy link

pkucmus commented Aug 20, 2024

Right now we can generate only one client for one GQL server. Could we add an ability to setup multiple? Not sure how would that look like in TOML but maybe:

[[tool.ariadne-codegen.saleor]]
remote_schema_url = "https://my.saleor.com"
queries_path = "saleor/queries.graphql"
target_package_name = "saleor_client"

[[tool.ariadne-codegen.my_app]]
remote_schema_url = "https://my.app.com"
queries_path = "my_app/queries.graphql"
target_package_name = "my_app_client"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant