Skip to content

refactor: switch acceptance members to type aliases #17653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

devversion
Copy link
Member

@devversion devversion commented Nov 8, 2019

Follow-up PR to #17640. It has been told to me that #17640 already has a presubmit, so I submitted the type alias change as a separate PR. Happy to merge that into a single PR if we can easily get the new PR merged too.

@devversion devversion added blocked This issue is blocked by some external factor, such as a prerequisite PR target: patch This PR is targeted for the next patch release labels Nov 8, 2019
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 8, 2019
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devversion devversion force-pushed the follow-up-coercion-inputs-acceptance-members branch from 3f4efd8 to f1e70d5 Compare November 11, 2019 08:41
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed blocked This issue is blocked by some external factor, such as a prerequisite PR labels Nov 11, 2019
@devversion
Copy link
Member Author

I need to rebase this PR, but will do after we released v9. I think at that point it will be easier to merge this PR.

devversion and others added 3 commits December 13, 2019 13:44
Instead of manually typing the union types for boolean
and number inputs, we should use a type alias.

This allows us to make changes easier in the future, and
it avoids a lot of repetition.
@mmalerba mmalerba force-pushed the follow-up-coercion-inputs-acceptance-members branch from f1e70d5 to 1e395ed Compare December 13, 2019 21:53
@mmalerba mmalerba merged commit 49a1324 into angular:master Dec 16, 2019
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants