Replies: 1 comment
-
Closing as I've contributed the necessary code to make this happen. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
Currently, the GraphQLAPIWrapper utility for building an http client has hardcoded that fetch_schema_from_transport is True. This implies that all GraphQL instances support this feature, when not all do. I'm requesting a change that would allow this to be configurable by passing in a parameter to override the default behavior of this wrapper.
Motivation
This change would allow the use of cases where the GraphQL instance does not support the schema introspection feature, such as TigerGraph.
Proposal (If applicable)
I'm requesting a change that would allow this to be configurable by passing in a parameter to override the default behavior of this wrapper. The parameter could be passed in alongside of 'custom_headers' and 'graphql_endpoint'.
The change would take place on line 40 of the graphql.py utility where the client is being initialized.
client = Client(transport=transport, fetch_schema_from_transport=True)
GraphQLAPIWrapper Utility
Beta Was this translation helpful? Give feedback.
All reactions