-
Notifications
You must be signed in to change notification settings - Fork 16
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
Does cuddle support direct AQL query also #16
Comments
This is currently not possible. We plan to add suport for custom domain logic (that's what why it's called cruddl), but in a way that does not couple the schema to ArangoDB. You would be able to add custom mutations and queries backed by simple TypeScript code that gets executed transactionally on ArangoDB. No ETA on this though. Just out of curiousity: What is your use case? |
Ok thanks @Yogu . So we are building a social platform and we want to rely on aragon graph to do most of the recommendation and suggestion for now. So we would like to provide custom AQl queries on relationship. I'm thinking starting a GraphQL server from the ground up, but found cuddle and trying to see possibilities of making it possible. |
Great to hear that you consider using cruddl for your project! I think you could use it well for CRUD-based operations for now. However, I don't think we will expose an ArangoDB-specific interface to schemas because that would tie schemas to ArangoDB. Have you considered implementing your custom AQL snippets directly against arango, and weaving or stitching them into the cruddl-generated schema? That's how we enhance the cruddl schema with custom logic (although we only access the database through cruddl). |
Seems good enough. I do love the whole cruddl idea. Does it by any means support Unions or Interface yet? |
And is subscription supported yet? |
Sorty, we don't support any of those at the moment.
|
I want to know if its possible to use a direct AQL for resolver for a special need
The text was updated successfully, but these errors were encountered: