-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Adding a delay to an observable pipe returns always null #26670
Comments
BenDevelopment
changed the title
Adding a delay to an observable pipe
Adding a delay to an observable pipe returns always null
Oct 23, 2018
Change pipe to be pure and it will work |
It works with a pure pipe thank you. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
When a delay is added to an observable in a PipeTransform, the pipe returns always null.
Expected behavior
The pipe should returns the value returned by the observable.
Minimal reproduction of the problem with instructions
See exemple:
https://stackblitz.com/edit/angular-gitter-tut9xq?file=app%2Fapp.component.ts
What is the motivation / use case for changing the behavior?
The pipe should return the observable string value instead of null. The point is to avoid ExpressionChangedAfterItHasBeenCheckedError in a specific case with a delay(0) in the pipe.
Environment
The text was updated successfully, but these errors were encountered: