Dataclasses support descriptors as fields. To be able to bind to descriptors, we need to collect the actual data type from the descriptor class instead of the dataclass.
This will be more useful if we also have support for resolving type arguments (see #1), as descriptors might be generic classes, but that could be a further enhancement rather than a blocker.
Dataclasses support descriptors as fields. To be able to bind to descriptors, we need to collect the actual data type from the descriptor class instead of the dataclass.
This will be more useful if we also have support for resolving type arguments (see #1), as descriptors might be generic classes, but that could be a further enhancement rather than a blocker.