Bind a resolver to a class #966
Unanswered
TerranWorks
asked this question in
Q&A
Replies: 1 comment 1 reply
-
No way for using decorator method with class comes to mind here, unless you want to decorate What are you trying to accomplish? Maybe Ariadne GraphQL Modules will be a better fit for your issue? |
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
-
In the documentation it shows that a class can be used as a resolver but I couldn't find an example of how to bind it. I'd like to use the decorator method but I can't figure out where to put it. I'd like to use an sqlmodel as the resolver itself so this would be really useful information.
Beta Was this translation helpful? Give feedback.
All reactions