Skip to content

Allows multiple queries to be executed at once - #808

Closed
bbakerman wants to merge 6 commits into
graphql-java:masterfrom
bbakerman:806-multi-operation
Closed

bbakerman wants to merge 6 commits into
graphql-java:masterfrom
bbakerman:806-multi-operation

Conversation

@bbakerman

Copy link
Copy Markdown
Member

see #806 for a detailed explanation of why

@bbakerman bbakerman added this to the 7.0 milestone Oct 29, 2017
@bbakerman

Copy link
Copy Markdown
Member Author

BTW this is not ready yet - there is more work to be done around Instrumentation but I wanted to show some early working code

@gkesler

gkesler commented Mar 22, 2018 •

Copy link
Copy Markdown
Contributor

@bbakerman @andimarek

Like RFCs and this PR.
What do you think about implementing [multiple] query execution using formal [dependency graph]
(https://en.wikipedia.org/wiki/Dependency_graph)?
It will provide you with a formal and universal way of executing a query by walking it in the natural order and calculating transitive closure?
It will also decouple you from all kinds of dependencies: relationship dependencies between objects, cross-dependencies between queries. Further more, I am also very much interested in submitting an RFC to make query criteria a first class citizen in the language and therefore it'll also require another kind of dependencies, more specifically reverse relationship dependencies from the child to its parent. Additionally it will allow cascaded mutations operations where a write request could be split automatically on the sequence of requests to write parents and children.

WDYT?

@bbakerman

Copy link
Copy Markdown
Member Author

Closing this for now

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

Successfully merging this pull request may close these issues.

3 participants