Skip to content

Releases: ExpediaGroup/graphql-component

v4.0.0

26 Oct 21:32
60c4faf

Choose a tag to compare

  • Updated @apollo/federation dependency for Node 18 compatibility.
  • Minimum version support is now node 18

v3.1.0

16 Aug 19:29
1f5233b

Choose a tag to compare

What's Changed

Uses a newer graphql-tools dependency : #99

New Contributors

Full Changelog: v3.0.4...v3.1.0

v3.0.4

18 May 23:49
8b54967

Choose a tag to compare

Updating prune function from latest graphql-tools and updates the TS types for accuracy.

v3.0.3

23 Mar 19:17

Choose a tag to compare

Merge imported directives into final schema.

v3.0.2 Update

14 Mar 16:29
564049b

Choose a tag to compare

V3.0.1

02 Mar 20:28
0120f81

Choose a tag to compare

What's Changed

  • accept a config where exclude is not defined by @tlivings in #93

Full Changelog: v3.0.0...v3.0.1

v3.0.0

10 Feb 18:00
dcab31d

Choose a tag to compare

Upgraded graphql-tools to improve schema merging.

v2.2.0

20 Nov 00:31

Choose a tag to compare

  • [FEATURE] - Add "hook" for custom makeExecutableSchema function

v2.1.7

24 Jun 20:53

Choose a tag to compare

[FIXED] - Explicitly removed wrapping of the federation __resolveReference() resolver which was preventing __resolveReference() from running when using graphql-component to build federated schemas in seperate graphql services.

v2.1.6

02 Mar 02:54

Choose a tag to compare

  • [FIXED] - A bug with graphql-component being used in a federated schema was brought to our attention and was attributed to the non-root type field resolver wrapping performed to help prevent double execution of resolvers with local delegation. Effectively, the resolver wrapping functionality was causing a null value to be returned (by attempting to return a value from the root arg) when the wrapper should have been calling through to the actual resolver. To fix this, separate wrapper functions are used for fields that begin with __ (such as __resolveType()) versus "normal" non-root type fields. These separated wrapper functions look for similar but slightly different conditions to determine whether to "short circuit" an already computed result which ensures that the wrapper functions are short circuiting or calling through to the actual resolver in the desired situations.