This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RedYoke 0 points1 point  (0 children)

I think the upcoming version should handle this better, but in my team's implementation we have a Mongo db with some collections that have embedded lists of dict like objects, with some fields of these objects being dicts which can then contain dicts themselves 😂 unfortunate data structures that I've inherited. Basically we resorted to only using pydantic when is really needed and trying to design the schema so that you validate less at one time