Skip to content

Convert dependency type from struct to tuple #46

Description

@ishkawa

Currently, dikitgen expects that Injectable.Dependency is declared as a struct.

Structs can have computed properties and methods, but the type elements are not related to declaring dependencies. I think Injectable.Dependencyshould focus on expressing dependencies, and the other works should be done by other components.

To encourage developers to focus on defining dependencies, I'm planning to convert Injectable.Dependency to tuple type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions