Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide on Creating Registering Graphql Mutations and Queries #3252

Open
StetsenkoAndrew opened this issue Jul 2, 2024 · 1 comment
Open

Comments

@StetsenkoAndrew
Copy link

Hi guys, we are big supporters of Elide.

We came to a need to register our own Mutation and query that are using same Datastore or different datastore.
Is it possible?

How can I add it to the schema and make sure graphql controller can see it?

@justin-tay
Copy link
Collaborator

It is not clear what you are trying to do, but typically you would need to create your own DataStore if the existing ones don't meet your needs. For instance you could use the NoopDataStore with a model with a @LifeCycleHookBinding to perform some function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants