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 utility function to transform types/directives inside GraphQLSchema #3226

Open
IvanGoncharov opened this issue Aug 10, 2021 · 4 comments

Comments

@IvanGoncharov
Copy link
Member

TODO: write a description

Extracted from #1199

@yaacovCR
Copy link
Contributor

Graphql tools has a mapSchema function that seems similar

@yaacovCR
Copy link
Contributor

See https://www.graphql-tools.com/docs/schema-directives#full-mapschema-api for further discussion, you can scroll up for some examples.

code is freely available via MIT license I believe to integrate upstream or just for comparison approach

@yaacovCR
Copy link
Contributor

Although my personal thought is that in terms of priorities, this has been handled in the package ecosystem and we should focus more in graphql JS on enabling custom execution and incremental delivery (defer/stream)

@Cito
Copy link
Member

Cito commented Dec 26, 2021

As @IvanGoncharov mentioned, this function could also be used internally to implement extendSchema and lexicographicallySortSchema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants