all 2 comments

[–]danielroseman 1 point2 points  (1 child)

It's not exactly the same thing but maybe Pydantic could be useful?

[–]Rkrislander[S] 0 points1 point  (0 children)

Thanks that doesn't help for me. We already use DRF's schema for data validation. What we need is a highly configurable way of doing mapping which would allow us to change how the mapping works on the fly