Closed slydor closed 2 years ago
@slydor Having the same problem, it is indeed because this type of import is RxJS 7.x compatible but not 6.x
@GregoireLgt thanks for looking that up! Then this release 9.1.0 would contain a breaking change, since in the package.json either v6 or v7 of rxjs is set as peerDep.
Hey. Sorry, that wasn't meant to be a breaking change. This was just an autocomplete in my VSCode 🤦
I've published @ngneat/until-destroy@9.1.1
.
Hi! Thank you for this wonderful package!
After updating @ngneat/until-destroy from v9.0.2 to v9.1.0 our builds had import errors, and we are not sure why:
We use rxjs 6.6.6, Angular 13.2.5 and nx 13.8.4.
In the bundle @ngneat/until-destroy/fesm2015/ngneat-until-destroy.mjs we have this line:
but actually, some operators must be pulled from 'rxjs/operators' as far as I know:
In https://github.com/ngneat/until-destroy/commit/93199cfbb7cd01c72fc8f0531c81c15ae2baef50 I see the very same imports, i.e.
{mergeMap} from rxjs
.Is this only available in rxjs 7 or do we lack something else here?