Skip to content

Can we post-process all id: ID fields without directives? #2126

Answered by yaacovCR
borekb asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can use the new schema directive functionality that relies on mapSchema.

https://www.graphql-tools.com/docs/schema-directives

Note that you can use mapSchema to modify fields with or without inspecting the directives they have attached...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@borekb
Comment options

@yaacovCR
Comment options

Answer selected by borekb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants