Usage with GraphQL #53
kettanaito
started this conversation in
Ideas
Replies: 1 comment
-
|
You can use this package with GraphQL by generating request handlers from your models: db.user.toHandlers('graphql')This automatically generates a GraphQL schema with all the necessary types derived from your model. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
How do we expect this package to be used with GraphQL? We can generate GraphQL handlers based on the database. How should we handle data querying?
Suggestions
I suppose we can use the
graphqlpackage and execute queries against a root resolver generated from the database.graphqlpackage.Beta Was this translation helpful? Give feedback.
All reactions