Releases: ardatan/graphql-tools
September 26, 2024
@graphql-tools/[email protected]
Minor Changes
- #6540
1e085bd
Thanks @EmrysMyrddin! - Allow to configure headers of the
WebSocket sent with the upgrade request.
September 25, 2024
@graphql-tools/[email protected]
Patch Changes
- #6536
3facde0
Thanks @EmrysMyrddin! -webSocketImpl
andlazy
options were
ignored and overriden by default values. This is no longer the case and it's now possible to
change theWebSocket
implementation.
September 11, 2024
August 29, 2024
@graphql-tools/[email protected]
Patch Changes
August 26, 2024
@graphql-tools/[email protected]
Patch Changes
August 26, 2024
@graphql-tools/[email protected]
Patch Changes
-
#6469
0e87805
Thanks @User!! - Handle merged selection sets in the computed fields;When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for theauthor
field in thePost
type is merged with the selection set for theauthorId
field in the
Comment
type.type Query { feed: [Post!]! } type Post { id: ID! @computed(selectionSet: "{ comments { authorId } }") } type Comment { id: ID! authorId: ID! } type User { id: ID! name: String! }
type Post { id: ID! comments: [Comment!]! } type Comment { id: ID! }
@graphql-tools/[email protected]
Patch Changes
-
#6469
0e87805
Thanks @User!! - Handle merged selection sets in the computed fields;When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for theauthor
field in thePost
type is merged with the selection set for theauthorId
field in the
Comment
type.type Query { feed: [Post!]! } type Post { id: ID! @computed(selectionSet: "{ comments { authorId } }") } type Comment { id: ID! authorId: ID! } type User { id: ID! name: String! }
type Post { id: ID! comments: [Comment!]! } type Comment { id: ID! }
-
Updated dependencies
[0e87805
]:- @graphql-tools/[email protected]
August 21, 2024
@graphql-tools/[email protected]
Patch Changes
-
f9dd3d6
Thanks @ardatan! - Details in the extensions when an unexpected
error occurs;{ "request": { "url": "https://api.example.com/graphql", "method": "POST", "body": { "query": "query { hello }" } }, "response": { "status": 500, "statusText": "Internal Server Error", "headers": { "content-type": "application/json" }, "body": { "errors": [ { "message": "Internal Server Error" } ] } } }
August 16, 2024
@graphql-tools/[email protected]
Patch Changes
-
Updated dependencies
[0286437
]:- @graphql-tools/[email protected]
@graphql-tools/[email protected]
Patch Changes
-
Updated dependencies
[0286437
]:- @graphql-tools/[email protected]
- @graphql-tools/[email protected]