How to use a class instance as my query root (rootValue from graphql-js) #3055
Unanswered
captbaritone
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a server which currently uses a class instance for each type. This includes Query. All of my top level fields are methods of my query class. As I look to adopt Yoga, I'm unclear where I would construct my query root object.
Here's a minimal example showing what I'm trying to migrate:
Beta Was this translation helpful? Give feedback.
All reactions