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
Did you try the scenario using a custom ajv instance?
As well, maybe if print out the password value on the preValidation hook, you might have an idea of what are you receiving after parsing the request
I declare a simple API route in
routes/api/user/v1.0
directory in theindex.js
file as below:This is
createUserFirstVersionSchema
:And here is my request cURL:
As you can see the sent request has a valid password and I expect an error to occur for the lack of
roleId
but this error occurred:Does the Fastify.js have trouble with complicated Regex patterns?
The text was updated successfully, but these errors were encountered: