Grapher 1.3 has been released

You’d maybe share this modification ?
Thanks

/grapher-master/lib/aggregate.js. new code:

import { Promise } from 'meteor/promise'

Mongo.Collection.prototype.aggregate = function (pipelines, options = {}) {
  return Promise.await(this.rawCollection().aggregate(pipelines).toArray())
}

1 Like

We could discuss how to keep grapher maintained.

One option of course is Meteor Community Packages and other option is Meteor Compat.

What do you guys think?

3 Likes

That’s what I suspect, but with a deadline coming up, I’m not able to experiment with Nova right now.

Any way to keep it maintained would be greatly appreciated! I just hope all the effort put in to Grapher the last few months won’t be for naught, that’s my primary concern.

We can’t keep all the opensource around Meteor maintained but we can help organize it in the Meteor compat org and provide releases/reviews when necessary.

Let’s see if the community wants to adopt it or not.

1 Like

Well, we are forgetting the creator and owner of the package. If @diaconutheodor agrees, then I have no problem taking it under community packages.

1 Like

I’m not excluding @diaconutheodor but as he is not going to support it anymore I would guess he would like help from the community to keep all the users supported.

But let’s see if he wants to say something here :wink:

2 Likes

Hi @filipenevola @storyteller
For the record, Theodor already stated on the community slack that he was ready to open the maintenance rights to the community. See printscreen attached.

If you two could unlock this, that would be great !

3 Likes

I’m reaching out to him.

3 Likes

Thank you @victor.

@storyteller let me know if you need help.

1 Like

Any updates on this?

One concern I have is for deployment on to MongoDB Atlas, as I believe they now require Meteor 2.6.

Last time I had checked, Grapher was not working with 2.6. Wondering if this was resolved?

You can fix this easily and keep a local package while a working version is being released.

1 Like

Was this in response to my comment?

If so, where’s information for the fix?

Could be very useful as our initial deployment may happen on this coming Friday.

Hi @Spyridon
Here is the (small) fi to make grapher works with meteor 2.6 : Grapher 1.3 has been released - #73 by paulishca

Or better, you can clone this fork in your local packages folder and get goin’ !

Enjoy.

1 Like

This didn’t seem to work for me, when attempting to add it gives this error:

Any ideas on how to fix this one?

You may have a look here

I just want to report that using the fork linked above, and the linked suggestion of of “meteor add matb33:collection-hooks@1.0.1!” did indeed work, in case anyone else runs in to similar issues!

2 Likes

Happy Thursday!

I’m trying to getCount() in a subscribeCount() query, but it’s not working, any ideas why? (the code is right, but the subscription is never ready and it loops)

Has the official Grapher package been updated to not cause issues? Or is the manual install with collection hookds @1.0.1! still necessary?

Hi @rechdan I didn’t saw your post before.
What version of meteor do you use actually ?

You maybe try a fork of grapher which is not really maintaned. This one work great for me : https://github.com/pmogollons/grapher

Greetings

1 Like