DEV Community

Discussion on: Should you explicitly define APIs when using Microservices?

Collapse
 
martinwallgren profile image
Martin Wallgren • Edited

If you are looking for ways to load json into classes with validation I highly recommend pydantic. It predates dataclasses, but have support for them too now days.

Collapse
 
jurajmalenica profile image
Juraj Malenica

I finally got a chance to look at it, and it's absolutely amazing. I did just a small demo, but it solves a lot of things that dacite just can't handle properly. Thanks :)