@graphql-mesh/cross-helpers
0.4.18 · 13 Oct 2026MIT379.6k / weekRepositoryHomepagenpmAtom feed
0.4.18 is the newest release of 0.2.x.
In short
1 breaking2 changed
- Breaking
BREAKING CHANGE
Release note
Contact us here for help, more necessary open source tools and Enterprise support
or Chat with us on discord
BREAKING CHANGE
We dropped @graphql-mesh/transform-extend and introduce additionalTypeDefs because typeDefs and resolvers that do stitching must be provided with stitchSchemas if we want to benefit from selectionSet feature of GraphQL Tools Schema Stitching
{
selectionSet: `{ id }`, //<< ID should be available here even if the parent selection set doesn't have that.
resolve ({ id }, { Users }) {
return Users.api.user({ id });
}
}When we use extend transform and additionalResolvers, stitchSchemas doesn't understand they're stitching typeDefs and resolvers so selectionSet isn't applied there.
Related #301
You can check the examples of new usage;
Schema Stitching -> github.com/Urigo/graphql-mesh/tree/master/examp…
Apollo Federation -> github.com/Urigo/graphql-mesh/tree/master/examp…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.