Urigo / meteor-rxjs

Exposing Mongo Cursor as RxJS Observable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this work with RxJS 6?

janKir opened this issue · comments

I'm thinking about to migrate my Angular-Meteor app to Angular 6 and hence RxJS 6, so I'm wondering if this library is compatible? Regarding to the RxJS Update Guide, the rxjs-compat package in milestone 2 works for all libraries which depend on rxjs 5.5. Unfortunately, this library has a peer dependency of only rxjs 5.4.

Is it still possible to migrate to RxJS 6 or when will this library support it?

Thanks!

same question here

I believe it would only need a pipable zone() method to be compatible. Should not be too hard to implement, I guess...

@janKir yes, also need to fix rxjs import

Incompability issues with RxJS and RxJS-Compat package is solved in the new release.
Feel free to open a new issue if you are still experiencing this problem.
Thank you!

@ardatan your fix save my day! I've tried new release but still got this error
Property 'zone' does not exist on type 'ObservableCursor<>'. Did you mean '_zone'?

Thanks a lot

@ymchun Your welcome!
Try to use zoneOperator like this;

  import { zoneOperator } from 'meteor-rxjs';
  whateveritwas.pipe(zoneOperator())