Skip to content

Generated Code doesn't work with actor annotated dependencies #422

@vsanthanam

Description

@vsanthanam

@MainActor annotated dependencies, produce uncompilable code

To support all actor annotations, I think the solution here is to make the getters for those dependencies async,

to support just @MainActor, we could just require that dependency access happen on the main thread by Component, Dependency, and generated code with @MainActor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions