Closed squiaios closed 3 months ago
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
returnOnlyFirstErrorMessage
Tests fail here
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