Problemunvalidated

when I try to insert an e-mail that does not match the pattern it still does get inserted into the database — I'm currently working on an api using fastapi and sqlmodel. Tension: I've read in some github issues that the regex parameter is not working properlly with pydantic. Outcome: You need instead to use a Pydantic-native validation method.

a89898f5-9a8f-4ee1-a9f4-30632b65aeab

when I try to insert an e-mail that does not match the pattern it still does get inserted into the database — I'm currently working on an api using fastapi and sqlmodel. Tension: I've read in some github issues that the regex parameter is not working properlly with pydantic. Outcome: You need instead to use a Pydantic-native validation method.