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

Make SchemaPrinter more flexible #3618

Merged
merged 3 commits into from Apr 27, 2023

Conversation

clangelov
Copy link
Contributor

Allow more methods to be overrided.

This is do to enable custom implementations of the SchemaPrinter the support custom print implementations for Scalars, InputObjects, Unions, Arguments and Enumerations.

@sungam3r
Copy link
Member

sungam3r commented Apr 27, 2023

I'm fine to merge this one but note that all SchemaPrinter with high probability will be completely rewritten in v8. See #2868.

@sungam3r sungam3r added the enhancement New feature or request label Apr 27, 2023
@sungam3r
Copy link
Member

You need to update api approval file. Just run tests locally.

@codecov-commenter
Copy link

Codecov Report

Merging #3618 (609f5d3) into master (f3fa7d5) will decrease coverage by 0.02%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #3618      +/-   ##
==========================================
- Coverage   83.93%   83.92%   -0.02%     
==========================================
  Files         381      381              
  Lines       16888    16888              
  Branches     2717     2717              
==========================================
- Hits        14175    14173       -2     
- Misses       2068     2069       +1     
- Partials      645      646       +1     
Impacted Files Coverage Δ
src/GraphQL/Utilities/SchemaPrinter.cs 85.26% <ø> (ø)

... and 1 file with indirect coverage changes

@clangelov
Copy link
Contributor Author

@sungam3r now everything should be ready

@sungam3r
Copy link
Member

@Shane32 merge if OK

@Shane32 Shane32 merged commit dc9041e into graphql-dotnet:master Apr 27, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants