[X] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Current behavior
When updating from rxjs 5.x to v6 I am now getting an error at runtime when using the stream method:
"You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable"
If I just replace the method with "get(...)" everything work.... except that I need the stream method to handle lang changes.
Expected/desired behavior
Should work fine like with version 5.x
I'm submitting a ... (check one with "x")
Current behavior When updating from rxjs 5.x to v6 I am now getting an error at runtime when using the stream method:
"You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable"
If I just replace the method with "get(...)" everything work.... except that I need the stream method to handle lang changes.Expected/desired behavior Should work fine like with version 5.x
Reproduction of the problem https://stackblitz.com/edit/github-bxdtuz?file=src%2Fapp%2Fapp.component.ts
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
ngx-translate version: 9.1.1 ngx-translate/http-loader: 2.0.1
Angular version: 5.2.10
Browser: all