3 ms·
It will be nice to have this but for data deserialization, which is the case in the example, I would still use drf serializers or marshmallow schemas.
by axzak 9y ago
It will be nice to have this but for data deserialization, which is the case in the example, I would still use drf serializers or marshmallow schemas.
- aldanor 9y agoRe: serialization, worth mentioning cattrs project (work with attrs classes, but would work the same way with stdlib dataclass): https://github.com/Tinche/cattrs https://github.com/Tinche/cattrs