@peterp This is an intriguing feature that comes with Apollo.
I’m spitballing here, but given this example from the Apollo docs it looks possible to:
- create a new SDL file in
api/src/graphql/
export const schema = mergeSchemas(...)
- which will then be included in the
graphql.js
via makeMergedSchema
I’m taking for granted the structure will be the same, but if it’s a gql
SDL… ?
And/or what about adding these “stiched schemas” as a new function file alongside graphql.js
?