deactivate graphql-validation in federation modul

This commit is contained in:
Claus-Peter Huebner 2023-10-25 16:58:04 +02:00
parent b232579915
commit 2e2b22bb7e

View File

@ -11,6 +11,7 @@ const schema = async (): Promise<GraphQLSchema> => {
resolvers: [getApiResolvers()],
// authChecker: isAuthorized,
scalarsMap: [{ type: Decimal, scalar: DecimalScalar }],
/*
validate: {
validationError: { target: false },
skipMissingProperties: true,
@ -19,6 +20,7 @@ const schema = async (): Promise<GraphQLSchema> => {
forbidUnknownValues: true,
stopAtFirstError: true,
},
*/
})
}