diff --git a/packages/services/schema/src/orchestrators.ts b/packages/services/schema/src/orchestrators.ts index a249b4d3e..c281e3327 100644 --- a/packages/services/schema/src/orchestrators.ts +++ b/packages/services/schema/src/orchestrators.ts @@ -458,7 +458,12 @@ const createStitching: (redis: RedisInstance, logger: FastifyLoggerInstance) => async (schemas: ValidationInput) => { return printSchema( stitchSchemas({ - typeDefs: schemas.map(schema => trimDescriptions(parse(schema.raw))), + subschemas: schemas.map(schema => + buildASTSchema(trimDescriptions(parse(schema.raw)), { + assumeValid: true, + assumeValidSDL: true, + }), + ), }), ); },