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
Describe the bug
I tried to use the sanic-ext validation to validate a complex json body without pydantic, and occour error. Using the pydantic model works.
To Reproduce
Validate like this example of models, using built-in list keyword:
Describe the bug
I tried to use the sanic-ext validation to validate a complex json body without pydantic, and occour error. Using the pydantic model works.
To Reproduce
Validate like this example of models, using built-in list keyword:
Expected behavior
Validate normally.
Environment (please complete the following information):
Additional context
Like @ahopkins said, maybe this is a bug related to 'list' keyword that is builtin in more recent Python versions. Using the List type imported of typing module appears to work as expected.
https://discord.com/channels/812221182594121728/872787982741032971/898279553288523807
The text was updated successfully, but these errors were encountered: