ProtixIT / dataclass-binder

Python library to bind TOML data to dataclasses in a type-safe way
MIT License
13 stars 2 forks source link

Fields with a `default_factory` must be considered optional #34

Closed mthuurne closed 1 year ago

mthuurne commented 1 year ago

If a field doesn't have a default value, but has a default factory instead, it should still be considered optional.