Tag: graph
-
How to fix error output format in Nest.js + graphql?
0 Faced the problem of getting errors from graphql in nest.js when the data does not pass validation. I wrote a global filter to bring it all to a single format, but it doesn’t want to work, or rather it works, but graphql wraps everything in a bunch of data and originalError GraphQLModule.forRoot<ApolloDriverConfig>({ driver: ApolloDriver,…