-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(introspection) - Add options to include more schema info to minifyIn…
…trospectionQuery (#1578) * Add includeScalars option to minifyIntrospectionQuery * Remove Any scalar if it's not needed * Add includeEnums / includeInputs / includeDirectives options * Update changeset * Fix linting issues in minifyIntrospectionQuery * Fix directives mapping for undefined directives input
- Loading branch information
Showing
2 changed files
with
105 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@urql/introspection': minor | ||
--- | ||
|
||
Add options to `@urql/introspection`'s `minifyIntrospectionQuery` allowing the inclusion of more | ||
information into the minified schema as needed, namely `includeScalars`, `includeEnums`, | ||
`includeInputs`, and `includeDirectives`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters