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

Add support for onPrettifyQuery callback to enable customised query formatting #3733

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

dimaMachina
Copy link
Collaborator

based on #3640

fixes #3385 #1517

Copy link

changeset-bot bot commented Aug 15, 2024

🦋 Changeset detected

Latest commit: 4a9699f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@graphiql/react Minor
graphiql Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

The latest changes of this PR are not available as canary, since there are no linked changesets for this PR.

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 67.26%. Comparing base (c966fa1) to head (4a9699f).
Report is 1 commits behind head on graphiql-v4.

Files Patch % Lines
packages/graphiql-react/src/editor/hooks.ts 20.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##           graphiql-v4    #3733      +/-   ##
===============================================
- Coverage        67.27%   67.26%   -0.02%     
===============================================
  Files              120      120              
  Lines             7014     7019       +5     
  Branches          2264     2273       +9     
===============================================
+ Hits              4719     4721       +2     
- Misses            2278     2281       +3     
  Partials            17       17              
Files Coverage Δ
packages/graphiql-react/src/editor/query-editor.ts 64.28% <100.00%> (+0.18%) ⬆️
packages/graphiql/src/components/GraphiQL.tsx 78.38% <100.00%> (+0.09%) ⬆️
packages/graphiql-react/src/editor/hooks.ts 38.37% <20.00%> (-0.69%) ⬇️

@dimaMachina dimaMachina merged commit 8dbddb5 into graphiql-v4 Aug 15, 2024
14 checks passed
@dimaMachina dimaMachina deleted the onprettifyquery2 branch August 15, 2024 17:06
@acao acao mentioned this pull request Aug 15, 2024
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.

1 participant