Tin Tvrtković

Results 444 comments of Tin Tvrtković

Hello! You can override the default hooks for those types to be anything you like. Cattrs is based on function composition to this is how problems are usually solved. A...

I'm planning a strategy to make this easier, probably in the next version.

Yep, finishing it up now. The only thing left is to rework the readme

Interesting. It was me who implemented that change in attrs in response to a bug report, so 🙈 Looks like `attrs.resolve_types` breaks on generic attrs classes, because `typing.get_type_hints` breaks on...

@petergaultney this is very much experimental and a work-in-progress at this point ;)

Howdy! I think a converter parameter is almost certainly not the way to go, even though I've went that route before. Simply because the converter will end up a huge...

Howdy! Sorry to hear you had issues with this. Documentation is always a work in progress. Would you care to submit a PR for the docs dealing with this, to...

> Which I think means I need to go back to requiring users to specify unstructure_as. Are you wrapping cattrs in a framework of sorts? I've done that a lot...

Howdy, this is definitely an interesting area to pursue. Let me first direct your attention to one of my related projects: https://uapi.threeofwands.com/en/latest/. uapi already has an OpenAPI schema generator built-in....

What json output are you expecting?