konradhalas / dacite

Simple creation of data classes from dictionaries.
MIT License
1.76k stars 106 forks source link

add cast_all option and support for cast Optional fields #10

Closed myrfy001 closed 5 years ago

konradhalas commented 5 years ago

@myrfy001 thank you for your PR! :)

Casting of optional fields is fixed in e70a36200212ab010c1bcb8a05d9778ba725a2ab.

I like explicitness of cast option, cast_all is too much ;)