graphql-go icon indicating copy to clipboard operation
graphql-go copied to clipboard

Make directives future-proof

Open pavelnikolov opened this issue 2 years ago • 4 comments

Currently the library only supports directives on FIELD_DEFINITION. When/if we add support for more directive locations, the users who already use the current directive API would face breaking changes. We need to make sure that we can add more directive visitor types and/or directive locations in future without introducing breaking changes.

pavelnikolov avatar Feb 14 '23 13:02 pavelnikolov