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

Using assert() on TypedBody(), but error message is is() #288

Closed
samchon opened this issue Mar 29, 2023 · 0 comments
Closed

Using assert() on TypedBody(), but error message is is() #288

samchon opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@samchon
Copy link
Owner

samchon commented Mar 29, 2023

When client sends an invalid request body data, @nestia.core.TypedBody() blocks it with 400 status code.

However, the error message is a little werid. I'm using typia.assert() function (default option), but error message is saying that I'm using typia.is() function.

It is not a tiny labeling bug, but should be fixed.

Error on typia.is(): invalid type on $input.card_number, expect to be string
@samchon samchon added the bug Something isn't working label Mar 29, 2023
@samchon samchon self-assigned this Mar 29, 2023
samchon added a commit that referenced this issue Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant