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
feat: export execution algorithm implementation as Executor class #3193
Commits on Oct 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d8e3254 - Browse repository at this point
Copy the full SHA d8e3254View commit details
Commits on Oct 4, 2021
-
refactor: move subscriptions into execution folder
All operations, including subscription operations, are covered by the execution section of the GraphQL spec
Configuration menu - View commit details
-
Copy full SHA for b7a0645 - Browse repository at this point
Copy the full SHA b7a0645View commit details -
refactor: introduce executeQueryOrMutation
...and executeQueryOrMutationRootFields to prepare for integration of executeSubscription
Configuration menu - View commit details
-
Copy full SHA for 9b88831 - Browse repository at this point
Copy the full SHA 9b88831View commit details -
remove buildExecutionContext from try block
this function currently does not throw GraphQLErrors -- it is not within the parallel try block within execute
Configuration menu - View commit details
-
Copy full SHA for f54a818 - Browse repository at this point
Copy the full SHA f54a818View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a446d - Browse repository at this point
Copy the full SHA b6a446dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0a03e - Browse repository at this point
Copy the full SHA 2a0a03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04a93cf - Browse repository at this point
Copy the full SHA 04a93cfView commit details -
refactor: executeSubscriptionRootField
to operate only on ExecutionContext
Configuration menu - View commit details
-
Copy full SHA for dab7997 - Browse repository at this point
Copy the full SHA dab7997View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c1ae5 - Browse repository at this point
Copy the full SHA f7c1ae5View commit details -
refactor: streamline exeContext access
-- In at least a few cases, destructuring assignment from exeContext can improve code readability. -- Overrides to exeContext can be set using object spread syntax.
Configuration menu - View commit details
-
Copy full SHA for dc88bcf - Browse repository at this point
Copy the full SHA dc88bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b98d329 - Browse repository at this point
Copy the full SHA b98d329View commit details -
refactor: narrow buildExecutionContext returnType
Instead of possibly retuning an array of GraphQLErrors, buildExecutionContext can throw a GraphQLAggregateError to report any encountered errors.
Configuration menu - View commit details
-
Copy full SHA for 2b54f3c - Browse repository at this point
Copy the full SHA 2b54f3cView commit details -
refactor: move assertValidExecutionArguments
only called by buildExecutionContext
Configuration menu - View commit details
-
Copy full SHA for 3b5983f - Browse repository at this point
Copy the full SHA 3b5983fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92912b4 - Browse repository at this point
Copy the full SHA 92912b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b31b67c - Browse repository at this point
Copy the full SHA b31b67cView commit details -
refactor: executor methods into Executor class
This class is exported only to assist people in implementing their own executors without duplicating too much code and should be used only as last resort for cases such as experimental syntax or if certain features could not be contributed upstream. It is still part of the internal API and is versioned, so any changes to it are never considered breaking changes. If you still need to support multiple versions of the library, please use the `versionInfo` variable for version detection.
Configuration menu - View commit details
-
Copy full SHA for 6ba6cdd - Browse repository at this point
Copy the full SHA 6ba6cddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95171f9 - Browse repository at this point
Copy the full SHA 95171f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4994041 - Browse repository at this point
Copy the full SHA 4994041View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea5051e - Browse repository at this point
Copy the full SHA ea5051eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2423b77 - Browse repository at this point
Copy the full SHA 2423b77View commit details -
export supporting Executor interfaces
ExecutorArgs and ExecutionContext
Configuration menu - View commit details
-
Copy full SHA for c124435 - Browse repository at this point
Copy the full SHA c124435View commit details