Skip to content

DSL meta fields implementation #259

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

Conversation

leszekhanusz
Copy link
Collaborator

Allow to add meta-fields (__typename, __schema and __type) to a DSL schema.

Implementation of get_introspection_query_ast method which creates the introspection query using the DSL module with a configurable level of recursion.

@leszekhanusz leszekhanusz linked an issue Nov 23, 2021 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Nov 24, 2021

Codecov Report

Merging #259 (e2a69a1) into master (6b53422) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #259   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        22    +1     
  Lines         1662      1741   +79     
=========================================
+ Hits          1662      1741   +79     
Impacted Files Coverage Δ
gql/dsl.py 100.00% <100.00%> (ø)
gql/utilities/__init__.py 100.00% <100.00%> (ø)
gql/utilities/get_introspection_query_ast.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b53422...e2a69a1. Read the comment docs.

@leszekhanusz leszekhanusz merged commit 0856f11 into graphql-python:master Nov 24, 2021
@leszekhanusz leszekhanusz deleted the feature_dsl_meta_fields branch March 12, 2022 12:43
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.

DSL Query meta field __typename
2 participants