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

feat: validation errors can return all error messages #582

Closed
wants to merge 1 commit into from
Closed

feat: validation errors can return all error messages #582

wants to merge 1 commit into from

Conversation

squiaios
Copy link

Right now, when you have errors with multiple messages, only the first is returned as string.

I added a function returnOnlyFirstErrorMessage in middleware in order to be able to overide on our app if we want to display all the messages in an array

@driesvints
Copy link
Collaborator

Tests fail here

@driesvints driesvints closed this May 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants