graphql-go-tools
graphql-go-tools copied to clipboard
Refactor: arguments of visitor callbacks confusing
The first arg of visitor callbacks is always "operation", the second one "definition". In case of visiting an operation, this is fine. In case of visiting a definition, it's incorrect.