Skip to content

Kotlin samples should experiment with DI via PropsT #768

Open
@rjrjr

Description

@rjrjr

@zach-klippenstein @bencochran and I just independently had the same thought: what if the DI-esque Kotlin samples were changed s.t. all workflows were object, and all injection happened via Props, using the factory pattern where necessary.

Could be perfectly pleasant, and much easier guidance to give ("Workflows are always stateless objects"). Also very consistent with Swift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationkotlin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions