Introduce ExecutionContext to hold all request-related data
Introduce ExtensionsExecutor which encapsulates execution of extensions during the request lifetime and is responsible for lifetime hooks
Refactor GraphqlEndpoint
support ExecutionContext and ExtensionsExecutor
merge batching into GraphqlEndpoint (leave BatchGraphqlEndpoint for compatibility)
add the ability to disable introspection
add the ability to disable validation
add graph, dispatch, parsing, operation, validation, and execution lifetime hooks
Add QueryDepthValidator extension
Refactor query cache into the ParseQueryCache extension
Drop StripQuery transformer, add support for __typename field, as striped query add unnecessary complexity into execution + adds additional overhead during execution
Adds extension support to Hiku.
graph
,dispatch
,parsing
,operation
,validation
, andexecution
lifetime hooksQueryDepthValidator
extensionParseQueryCache
extensionStripQuery
transformer, add support for __typename field, as striped query add unnecessary complexity into execution + adds additional overhead during executionПовний приклад використання ендпоінту: