Urigo / meteor-rxjs

Exposing Mongo Cursor as RxJS Observable
MIT License
120 stars 38 forks source link

MeteorObservable.call does not seem to be working #152

Closed IamCarbonMan closed 7 years ago

IamCarbonMan commented 7 years ago

I have a method that returns an EJSON array (which is returned by a Cursor.fetch() call), which works like so:

Meteor.call("search", {}, console.log)

but does not work like so:

MeteorObservable.call("card_search", {}).subscribe(console.log)

In the first example, an Array is logged to the console, in the second, the console shows undefined.

darkbasic commented 7 years ago

Can you please share a sample repository showing the issue?

IamCarbonMan commented 7 years ago

Closing because I couldn't seem to reproduce the issue once I created a simple example.