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

Introduce a ParameterizedType #26

Open
beikov opened this issue May 2, 2024 · 0 comments
Open

Introduce a ParameterizedType #26

beikov opened this issue May 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@beikov
Copy link
Member

beikov commented May 2, 2024

CollectionType should extend from a new type ParameterizedType, to allow modelling more complex types like e.g. Map. The idea is, that ParameterizedType has N parameter types and CollectionType is a special variant of that, because it has the notion of an element type.
When doing that, there also needs to be a way to register a "TypeFactory" for such custom collection types, which will produce ParameterizedType instances. We should try to model collection types through that same mechanism.

@beikov beikov added the enhancement New feature or request label May 2, 2024
@beikov beikov self-assigned this May 2, 2024
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