From aab59a55593275b6757f02db11942da2996677ae Mon Sep 17 00:00:00 2001 From: Yu Taek Lee Date: Fri, 26 Jan 2024 00:45:34 +0900 Subject: [PATCH] :bug: Fix error on type graphql https://github.com/MichalLytek/type-graphql/issues/1401 --- packages/server/src/config/yoga.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/server/src/config/yoga.ts b/packages/server/src/config/yoga.ts index 2f995db..e70b2ee 100644 --- a/packages/server/src/config/yoga.ts +++ b/packages/server/src/config/yoga.ts @@ -11,6 +11,9 @@ const createSchema = async () => await buildSchema({ resolvers: [UserResolver, MandalaChartResolver, RecommendationResolver], emitSchemaFile: 'src/schema.gql', + validate: { + forbidUnknownValues: false, + }, }) const createYogaConfig = async () => {