Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support descriptors as fields #24

Open
mthuurne opened this issue Jun 29, 2023 · 0 comments
Open

Support descriptors as fields #24

mthuurne opened this issue Jun 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mthuurne
Copy link
Member

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.

@mthuurne mthuurne added the enhancement New feature or request label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant