Skip to content

Extensions added via another extension's addHooks() method have no access to scope #189

@joshlartz

Description

@joshlartz

Extensions that were added during the addHooks step won't have access to this.scope because the prehook step is in charge of setting scope and runs before addHooks.

https://github.com/cdklabs/cdk-ecs-service-extensions/blob/main/src/service.ts#L171,L180

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions