Releases: yaacovCR/graphql-js
v0.0.23
v0.0.22
Patch Changes
-
00f54c0: introspection should track the ExecutorSchema rather than the GraphQLSchema
...in case of any discrepancy. When an explicit ExecutorSchema is passed, the GraphQLSchema should essentially be ignored, required in essence only to satisfy TS typings. If an explicit ExecutorSchema is not passed, it is generated from the GraphQLSchema, and so there would be no discrepancy.
v0.0.21
v0.0.20
Patch Changes
-
6b06772: introduce experimental parallel streaming
Experimental
inParallel
boolean argument to the stream directive may now be used to stream list items as they are ready instead of in sequential list order. -
99a85d4: introduce experimental batched streaming
Experimental
maxChunkSize
andmaxInterval
arguments allows for increasing the number of items in each streamed payload up to the specified maximum size. A maximum interval (specified in milliseconds) can be used to send any ready items prior to the maximum chunk size.When using a
maxChunkSize
greater than 1, thedata
property of execution patch results will consist of an array of items and a newatIndex
property will contain the initial index for the items included within the chunk. When streaming in parallel, newatIndices
property will be used instead ofatIndex
and will contain an array of the corresponding indices for each of the items included within thedata
property.
v0.0.19
Patch Changes
-
c749991: Revisit fragments if visited initially with
@defer
Fragments visited previously with
@defer
have not been added to the initial group field set, and so must be added.See: https://github.com/robrichard/defer-stream-wg/discussions/29#discussioncomment-2099307
v0.0.18
Patch Changes
-
3a84284: Changes to methods
Simplifies methods, removing methods that were added merely for their potential as hooks.
Any actually needed hooks can be restored upon request.
Renames several methods for clarity.
Note that all Executor class methods are still considered internal.