You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building an app using NestJS and I wanted to use Yoga as the driver for the GraphQL server. I'm using class-validator to validate inputs from users on mutations and queries. However, when a validation fails, maskedErrors error object don't contain the extensions object and I can't handle it so I return a better friendly message to the user.
Is this a bug or can be accomplished in a different manner?
The text was updated successfully, but these errors were encountered:
I'm building an app using NestJS and I wanted to use Yoga as the driver for the GraphQL server. I'm using class-validator to validate inputs from users on mutations and queries. However, when a validation fails, maskedErrors error object don't contain the extensions object and I can't handle it so I return a better friendly message to the user.
Is this a bug or can be accomplished in a different manner?
The text was updated successfully, but these errors were encountered: