Skip to content

Support @Input(), @Output(), @HostBinding() defined in superclasses and mixins #6953

Closed

Description

@zoechi

Lifecycle interfaces implementations in superclasses seem to be already supported (#4222)

It would be great for @Input(), @Output(), @HostBinding() to also be supported for reusable implementations (like behaviors in Polymer).

Activity

  1. lacolaco commented on Feb 9, 2016

    @lacolaco
    Contributor

    +1

  2. zoechi commented on Feb 10, 2016

    @zoechi
    ContributorAuthor

    Support for lifecycle interface implementations in superclasses will be reverted :-(

  3. kegluneq commented on Feb 10, 2016

    @kegluneq

    To clarify: in Dart, support for inheriting lifecycle hooks from superclasses is currently implemented in dev mode, but not in transformed model. This leads to inconsistent behavior between dev and transformed mode.

    For reasons explained in the transformer design doc, we want to avoid global resolution in the transformer, so we do not implement this in transformed code. As a result, we will revert support in dev mode to avoid the inconsistent behavior.

    #6879 introduces a dev-mode check which will alert users to missing implements <hook_interface> clauses. We are working on a way to make inheriting hooks from superclasses work, but do not have an agreed-upon design right now.

  4. zoechi commented on Feb 10, 2016

    @zoechi
    ContributorAuthor

    Ok, sounds promising :)

  5. pkozlowski-opensource commented on Oct 4, 2016

    @pkozlowski-opensource
    Member

    Closing as a duplicate of #11606. If there is a specific use-case to be added please comment on #11606.

  6. angular-automatic-lock-bot commented on Sep 9, 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.

  7. locked and limited conversation to collaborators on Sep 9, 2019
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions