Replies: 1 comment 1 reply
-
Directives are classes for a reason: they mutate GraphQL schema and changing resolvers is just one of operations that is possible to do with them. This is why we've didn't purse functional API for those. Example with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I liked the simplicity of ariadne. Using decorators or handler methods makes it easier to understand what's going on. Directives built on classes look very cumbersome.
It was a good idea, but for some reason it was not implemented. One style for all code)))
Beta Was this translation helpful? Give feedback.
All reactions