Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 269 Bytes

File metadata and controls

13 lines (9 loc) · 269 Bytes

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.