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

Does cuddle support direct AQL query also #16

Open
juicycleff opened this issue May 12, 2018 · 6 comments
Open

Does cuddle support direct AQL query also #16

juicycleff opened this issue May 12, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@juicycleff
Copy link

I want to know if its possible to use a direct AQL for resolver for a special need

@Yogu
Copy link
Member

Yogu commented May 13, 2018

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?

@juicycleff
Copy link
Author

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.

@Yogu
Copy link
Member

Yogu commented May 14, 2018

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).

@juicycleff
Copy link
Author

juicycleff commented May 15, 2018

Seems good enough. I do love the whole cruddl idea. Does it by any means support Unions or Interface yet?

@juicycleff
Copy link
Author

And is subscription supported yet?

@Yogu
Copy link
Member

Yogu commented May 15, 2018 via email

@teoxoy teoxoy mentioned this issue Jun 17, 2019
@Yogu Yogu added the enhancement New feature or request label Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants