reagento / adaptix

An extremely flexible and configurable data model conversion library.
https://adaptix.readthedocs.io
Apache License 2.0
372 stars 23 forks source link

Add support for pydantic #184

Closed zhPavel closed 6 months ago

zhPavel commented 2 years ago

There are should be two modes:

  1. Use pydantic own parser and serializer, but with our name mapping
  2. Redefine pydantic parsers and serializers with ours, create models via construct method (need to call validators)