Skip to content

@Input and @Output annotations do not work on setters or getters respectively #5251

Closed

Description

@TedSander

Transformer only works with fields and will not work with setters and getters when using the @input and @output annotations.

Activity

  1. TedSander commented on Nov 12, 2015

    @TedSander
    ContributorAuthor

    Looks to be an easy fix. Just need to add logic in directive_metadata_reader.dart to visit the method declarations and look for the relevant setter/getter. I'll put together a pull request tomorrow.

  2. self-assigned this
    on Nov 12, 2015
  3. TedSander commented on Nov 12, 2015

    @TedSander
    ContributorAuthor
  4. vsavkin commented on Nov 12, 2015

    @vsavkin
    Contributor

    I'll put together a pull request tomorrow.

    @TedSander Awsome. Please, assign me as a reviewer. I'll review it asap.

  5. added a commit that references this issue on Nov 12, 2015
    1a44b71
  6. TedSander commented on Nov 13, 2015

    @TedSander
    ContributorAuthor

    Closed by #5259

  7. added a commit that references this issue on Nov 13, 2015
    d9f362a
  8. angular-automatic-lock-bot commented on Sep 7, 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.

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

Metadata

Metadata

Assignees

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