Skip to content

Set enum value values to value names in build_client_schema #138

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

Merged
merged 2 commits into from
Sep 3, 2021

Conversation

charmasaur
Copy link
Contributor

This makes it consistent with build_ast_schema (see commit
2a1953f), and ensures that default enum
values are reflected in schemas built from introspection when using
gql (the introspection version of
#111).

This makes it consistent with build_ast_schema (see commit
2a1953f), and ensures that default enum
values are reflected in schemas built from introspection when using
`gql`.
@charmasaur charmasaur requested a review from Cito as a code owner September 2, 2021 01:11
Copy link
Member

@Cito Cito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution - I agree this is the right thing to do.

Will probably also backport this to the 3.1 branch.

@Cito Cito merged commit 4bb11c2 into graphql-python:main Sep 3, 2021
@charmasaur charmasaur deleted the enum branch September 3, 2021 10:34
@charmasaur
Copy link
Contributor Author

Thanks for the quick review+merge!

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

Successfully merging this pull request may close these issues.

2 participants