graphql-go
graphql-go copied to clipboard
Make directives future-proof
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.