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

(introspection) - Add options to include more schema info to minifyIntrospectionQuery #1578

Merged
merged 6 commits into from
Apr 28, 2021

Conversation

kitten
Copy link
Member

@kitten kitten commented Apr 27, 2021

Resolve: #1577

Summary

Some other tools may want to use the schema for other purposes, which has the prerequisite of more information having to be included in the schema; namely, the customScalarsExchange (a third-party one) requires scalar information to map any kind of scalar values in a result.

It's also imagineable that other information is needed so this PR adds options to now allow the inclusion of all schema information separately, which is still excluded by default.

@kitten kitten requested a review from JoviDeCroock April 27, 2021 19:52
@changeset-bot
Copy link

changeset-bot bot commented Apr 27, 2021

🦋 Changeset detected

Latest commit: b6f482f

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

This PR includes changesets to release 1 package
Name Type
@urql/introspection 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

@kitten kitten changed the title (introspection) - Add includeScalars option to minifyIntrospectionQuery (introspection) - Add options to include more info to minifyIntrospectionQuery Apr 28, 2021
@kitten kitten changed the title (introspection) - Add options to include more info to minifyIntrospectionQuery (introspection) - Add options to include more schema info to minifyIntrospectionQuery Apr 28, 2021
@kitten kitten requested a review from JoviDeCroock April 28, 2021 11:47
@kitten kitten merged commit 398007e into main Apr 28, 2021
@kitten kitten deleted the feat/introspection-with-scalars branch April 28, 2021 11:50
@github-actions github-actions bot mentioned this pull request Apr 28, 2021
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