Open MrBlenny opened 3 years ago
No idea what would be required without trying it (I haven't used the library before). You can see https://github.com/biqqles/dataclassy/issues/37 for a similar scenario.
The core feature of a way to create instances recursively would be good and doesn't seem too difficult. I will think about adding it to this library.
I added a quick implementation of this to the 'from_dict' branch. Would you be able to try it and tell me what you think?
This project looks great!
I've been heavily using dacite - in particular, the
from_dict
method to initialise a nested data class from a nested dictionary.Have you come across this library? What would be required for these to work together?