We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code sample for ariadne-codegen is outdated.
Relevant code sample for ariadne-codegen.
Replace the code with something like this:
import asyncio from graphql_client import Client async def fetch_gql(): client = Client("http://example.com/graphql/") result = await client.create_token(username="Admin", password="Example123") if result.errors: error = result.errors[0] raise ValidationError({error.field: error.message}) auth_token = result.token asyncio.run(fetch_gql())
The text was updated successfully, but these errors were encountered:
thanks! could you submit a PR with a fix?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
Code sample for ariadne-codegen is outdated.
Motivation
Relevant code sample for ariadne-codegen.
Collaboration
Replace the code with something like this:
The text was updated successfully, but these errors were encountered: