Skip to content
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

feat(ivy): support WrappedValue in pipes (FW-726) #27409

Closed
wants to merge 1 commit into from

Conversation

marclaval
Copy link
Contributor

@marclaval marclaval commented Dec 3, 2018

This PR implements the support of WrappedValue in pipes.

It uses the same trick as in the ViewEngine: the result of the pipe transformation is unwrapped immediately in the pipe instruction. And, if this result is wrapped, the previous value is wrapped to force change detection.
As a result, the unwrap code is only executed for pipe output, and the WrappedValue code is imported only if a pipe is used.

This solves 21 failures in the router packages when running the tests with Ivy.

@mary-poppins
Copy link

You can preview 90e027b at https://pr27409-90e027b.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 69285f1 at https://pr27409-69285f1.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 0cb4774 at https://pr27409-0cb4774.ngbuilds.io/.

@mary-poppins
Copy link

You can preview adc992b at https://pr27409-adc992b.ngbuilds.io/.

@mary-poppins
Copy link

You can preview ab0eb6c at https://pr27409-ab0eb6c.ngbuilds.io/.

@kara kara added action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release comp: ivy labels Dec 3, 2018
@ngbot ngbot bot added this to the needsTriage milestone Dec 3, 2018
@mary-poppins
Copy link

You can preview 72c2835 at https://pr27409-72c2835.ngbuilds.io/.

@marclaval marclaval added merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 4, 2018
@alxhub
Copy link
Member

alxhub commented Dec 4, 2018

@alxhub alxhub added action: merge The PR is ready for merge by the caretaker and removed merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Dec 5, 2018
@IgorMinar IgorMinar closed this in bd864fb Dec 5, 2018
FrederikSchlemmer pushed a commit to FrederikSchlemmer/angular that referenced this pull request Jan 3, 2019
ngfelixl pushed a commit to ngfelixl/angular that referenced this pull request Jan 28, 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 Sep 14, 2019
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 target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants