Skip to content

Ivy: Support injection flags (Optional, Self, etc) #23342

Closed

Description

@kara

We need to support injection flags:

  • Optional
  • Self
  • SkipSelf
  • Host

e.g.

constructor(@Optional() someParentDir: ParentDir) {}

Activity

  1. added
    featureLabel used to distinguish feature request from other issues
    on Apr 12, 2018
  2. self-assigned this
    on Apr 12, 2018
  3. added this to the Backlog milestone on Apr 12, 2018
  4. assigned and unassigned on Apr 12, 2018
  5. LinboLen commented on Apr 16, 2018

    @LinboLen

    I have a question. formerly such as Host decorated constructor parameter be solved in template defined injector(the parent inject is always same). does ivy will solve injector to rendered parent inject(only dir rendered, the parent inject will be assigned)

  6. pkozlowski-opensource commented on Dec 21, 2018

    @pkozlowski-opensource
    Member

    I believe that this is implemented now.

  7. angular-automatic-lock-bot commented on Sep 14, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions