elf
elf copied to clipboard
Unable to use @ngneat/elf with RxJS 6.x
Which @ngneat/elf-* package(s) are the source of the bug?
Is this a regression?
Yes
Description
RxJS 7.x exports operators as part of rxjs; developers use import {...} from 'rxjs'
RxJS 6.x exports operators only via rxjs/operators
Unfortunately, some of the code within @ngneat/elf uses formats that ONLY supports RxJS 7.x:
entity-state-history.tsusesimport { Subscription, pairwise, filter, map, startWith } from 'rxjs';request-cache.tsusesimport { distinctUntilKeyChanged, Observable, pipe } from 'rxjs';
Please provide the environment you discovered this bug in
Projects using Angular 13.x + RxJS 6.5.x will not work with latest `@ngneat/elf-requests`
Here is a sample `ng build` error output:
Any reason you're not upgrading to v7? It should be seamless.