-
Notifications
You must be signed in to change notification settings - Fork 10
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
2 more query functions #8
Conversation
query(conn, "anyofterms", "name", "VI") query( conn, "anyofterms", "name", "VI", "uid name release_date starring { name }" ) removed: import_starwars_sample() from mutation_test setup (double mutation)
Pull Request Test Coverage Report for Build 79
💛 - Coveralls |
Hey, I am not sure if this is the way to go since queries can become pretty complex. I think we should first discuss a good way to model GraphQL+ queries in Elixir before going down a specific route or implementing specific query functions for certain types of GraphQL+ functions. |
I think it's good to have a few levels of access. the graphql level some quick and easy queries and a query builder like this draft concept
|
So I had a look at your PR again. Thank you! I think having more query functions is in general a good idea. But there are a couple of issues.
This might seem like much. But I don't want people to start using a function and then suddenly change the API and break their application. So I would rather try to go for a more complete integration. What do you think? |
I think a good way to handle this is this client: https://github.com/elbow-jason/dgraph_ex |
And @Fulnir can we please have a discussion on here first before you submit a PR? |
To avoid new commits appearing here, I closed the pull request. |
query(conn, "anyofterms", "name", "VI")
removed: import_starwars_sample() from mutation_test setup (double mutation)