From 2e2b22bb7ec90ed58f538600b2579bbdc43f38c9 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Wed, 25 Oct 2023 16:58:04 +0200 Subject: [PATCH] deactivate graphql-validation in federation modul --- federation/src/graphql/schema.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/federation/src/graphql/schema.ts b/federation/src/graphql/schema.ts index d1be63b00..9d39f1398 100644 --- a/federation/src/graphql/schema.ts +++ b/federation/src/graphql/schema.ts @@ -11,6 +11,7 @@ const schema = async (): Promise => { resolvers: [getApiResolvers()], // authChecker: isAuthorized, scalarsMap: [{ type: Decimal, scalar: DecimalScalar }], + /* validate: { validationError: { target: false }, skipMissingProperties: true, @@ -19,6 +20,7 @@ const schema = async (): Promise => { forbidUnknownValues: true, stopAtFirstError: true, }, + */ }) }