mondora / asteroid

An alternative client for a Meteor backend
MIT License
733 stars 101 forks source link

Expose miniMongo and Meteor api the same way they are in the Meteor app #31

Closed dotnetwise closed 9 years ago

dotnetwise commented 9 years ago

So you don't have to learn/do stuff differently.

They should be transparent, although what the functions return might be wrapped with more compatibility stuff.

pscanf commented 9 years ago

Hello there,

(as you may know) the library does not use minimongo, but a bare-bones clone of it, which does not have all of the niceties of minimongo (rich queries, updates etc). Unfortunately I have not had time to implement all of those features, partly because I've always found a way to get around them without too much of a hassle.

But I received a lot of requests in this regard, so I'm definitely considering it, along with a refactor of the store implementation to make use of immutable data structures. Alas for now I can't promise anything.

Contributions as always are very welcome, so feel free to make a PR even with a very rough prototype. :-)

Cheers

pscanf commented 9 years ago

Wontfix. With the mixin api in 1.0.0 it should be easy to make a mixin which replicates the Meteor api.