-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: add an abstract layer to support pydantic/msgspec #329
Comments
Is this issue/repo still getting attention? This is over a year old at this point. I managed to copy That said, if I find some extra free time, I might give it a go to fulfill this issue. |
I didn't find a good solution at that time. Also, I have tried another general OpenAPI doc only solution in defspec. I wonder if I can reuse the code.
I can also find some free time. It would be very helpful if you could leave some comments about the rough ideas here. I haven't been using pydantic for a while. |
#387 makes it possible to support both pydantic v1 & v2. |
Pydantic v2 has too many breaking changes that lots of 3rd libraries are not able to upgrade in a short time.
This PR is not backward compatible (due to pydantic breaking changes). I'm not sure if we should make this library compatible with both pydantic v1 & v2. Or maybe we should add another abstract layer so that we can make it possible to support pydantic v1 & v2 and msgspec (ref #307)
Originally posted by @kemingy in #319 (review)
The text was updated successfully, but these errors were encountered: