-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Output migration pipe to observable #57691
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
Output migration pipe to observable #57691
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change contains a fix that takes into account comments attached to outputs and preserves / removes those as needed.
3e105b1
to
138eb96
Compare
This change uses the outputToObservable utility function to convert migrated outputs to Observables. This happens only in test files as it is a common practice to use RxJS to listen to events raised by the component under test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
packages/core/schematics/migrations/output-migration/output-migration.ts
Show resolved
Hide resolved
packages/core/schematics/migrations/output-migration/output-migration.spec.ts
Outdated
Show resolved
Hide resolved
packages/core/schematics/migrations/output-migration/output-replacements.ts
Outdated
Show resolved
Hide resolved
138eb96
to
08f7c7c
Compare
This change uses the outputToObservable utility function to convert migrated outputs to Observables. This happens only in test files as it is a common practice to use RxJS to listen to events raised by the component under test. PR Close #57691
This PR was merged into the repository by commit cbec46a. The changes were merged into the following branches: main |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Only the last commit to be reviewed.