Skip to content

Add helper to allow using ComplexType with type parameter as value #31

@kevinresol

Description

@kevinresol

Basically this piece of code: https://github.com/haxetink/tink_json/blob/09c708c6cebfa47fd9165d9b6a380e077ff3f320/src/tink/json/macros/GenWriter.hx#L368-L379

For example for tink.Annex we have .get(TheType), but .get(TheType<Int>) doesn't work, but we can typedef TheIntType = TheType<Int>; then .get(TheIntType). This will be useful if TheType is generically built and produces distinct types at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions