Releases: gmac/graphql-stitching-ruby
Releases · gmac/graphql-stitching-ruby
Send consistent documents + refactors
Better support for merged types without resolvers
See #135, thanks to @thomasmarshall for the suggestion.
Improved handling of resolver types
- #130: Fixes abstract resolver definitions passing through Supergraph import/export. Thanks @thomasmarshall.
- #131: Improvements to
@stitch
directive resolver mappings:- Multiple arguments attempt to match by name to the key used.
- Abstract resolvers may specify a
typeName
to target specific types with specific keys.
GraphQL v2.3.0 compatibility
v1.2.3 v1.2.3
Fix lower-level root queries
Fixes a bug with collecting merged root query fields from lower-level tree positions.
Fix repathing of non-list errors
Request overhaul + GraphQL multipart form uploads
Large refactor to center operations around the stitching Request
object. This enabled support for GraphQL multipart form uploads (thanks @mikeharty), and prepares for other contextual schema possibilities. Review #108 for a complete list of changes.
Arguments for Executable.call
have changed. The method signature is now:
Executable.call(request, document, variables)
request
is now the first argument.- former
context
argument has been removed in favor ofrequest.context
. - former
location
argument has been removed without replacement, as executables should have implicit awareness of their assigned target.
GraphQL 2.2 compatibility
Updates the definition of Field
nodes to match GraphQL v2.2.