Closed dslemusp closed 2 months ago
I would love this to merged! Most of my pytests warning on a project of mine are actually caused by this.
@roman-right, FYI, the deprecation was done by this PR: https://github.com/pydantic/pydantic-core/pull/980 And I think this PR can be merged like this since others projects just did exactly what @dslemusp is doing in this PR (a simple function replacement, see: https://github.com/vitalik/django-ninja/pull/922)
Hi @hasB4K ,
Thank you for following up. I'll pick it up at the beginning of the next week.
It looks good. I plan to have it merged at this weekend
Merged. It will be published today
https://docs.pydantic.dev/latest/api/pydantic_core_schema/#pydantic_core.core_schema.with_info_plain_validator_function