This is kind of part of #214 but it stands for itself too.
Something like:
@attr.s(check_types=True)
class C:
x = attr.ib(type=int)
ought to work.
Regardless of checking the type, the type information has to be accessible somewhere so we can have first-class deserialization support.
This is kind of part of #214 but it stands for itself too.
Something like:
ought to work.
Regardless of checking the type, the type information has to be accessible somewhere so we can have first-class deserialization support.