Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for “Error Handling” #3762

Open
lucas-figueiredo-m opened this issue Feb 15, 2025 · 0 comments
Open

Feedback for “Error Handling” #3762

lucas-figueiredo-m opened this issue Feb 15, 2025 · 0 comments

Comments

@lucas-figueiredo-m
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant