Skip to content

Sample repository for NestJS to show a bug when setting whitelist to true and graphql resolver arguments

Notifications You must be signed in to change notification settings

iangregsondev/bug-nest-graphql-whitelist-error

Repository files navigation

nest-graphql-whitelist-error

Execute the following query against the server.

{
   recipes(id: "22") 
}

You will notice that the value was undefined that is received inside the resolver.

Setting whitelist to false on the validationPipe will fix the issue.

About

Sample repository for NestJS to show a bug when setting whitelist to true and graphql resolver arguments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published