Tin Tvrtković
Tin Tvrtković
@matmel I can take a look at this before the next release. But in any case, cattrs is designed so you can come up with a strategy without me having...
Alright, I've reviewed the issue in depth. It doesn't matter whether attrs classes or dataclasses are used, or whether the classes are kwonly or frozen. Referencing the issue in the...
Hello! You'll need to add a default value yourself to get this behavior. So just change your class to be ```python @define class Dog: name: str nickname: Optional[str] = None...
Sure! Want to send a quick PR? :)
Thanks for putting in work on this. The hooks are obviously fine. The issue is that this introduces `resolve_types` for dataclasses, and tbh that's out of scope for cattrs. That...
You make a couple of good points, so let's discuss further. (The cattr -> cattrs move isn't accidental, it's on purpose. I think all new code will be going into...
Bleh must've gotten lost in a merge
I'm confirming the `GenConverter` name should still be available. No need to cause even more breakage for no reason ;)
Fixed on `main`!
So when you pass `omit_if_default=True` to the GenConverter, it'll use it when it calls `make_dict_unstructure_fn` for you. But if you're calling it yourself, you need to pass it in yourself...