I'm looking for a way to get the combined GraphQL schema from NestJS v6, in order to mock the schema interface with addMockFunctionsToSchema from Apollo, for testing purposes.
i.e. https://www.apollographql.com/docs/graphql-tools/mocking/#addmockfunctionstoschema
In short, I need to get anyhow the schema object and call :
addMockFunctionsToSchema({ schema })
It looks like this was possible on the previous version of NestJS (v5):
e.g. https://github.com/alessandrodeste/graphql-nodejs-typescript/blob/master/src/app.module.ts#L24
Is it not possible anymore to achieve this? Thanks for your help!