tiangolo/fastapi

FastAPI with Pydantic v2 and FastAPI-JWT-Auth

Kumbukani-ck opened this issue · 0 comments

Pydantic v2 isn't working with FastAPI-JWT-Auth i'm always getting the Type Error highlighting that @Validators can not be applied on schemas of json-to-python.

So is there any other alternative other than downgrading to version 1?