graphql-query-rewriter / core

Seamlessly turn breaking GraphQL changes into non-breaking changes
https://graphql-query-rewriter.github.io/core
MIT License
407 stars 15 forks source link

Allow rewrite of other things then Fields #26

Open Sytten opened 3 years ago

Sytten commented 3 years ago

Currently all rewriters must be applied on a field. I would like to be able to rewrite other fields. For example, if I change the type of an input field, it is currently not possible (I have to rewrite all variables of fields that use that input). Another example would be an enum where I would remove an option and I want to rewrite it to a newer one.