meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

maintain an official account solution for apollo #290

Open macrozone opened 6 years ago

macrozone commented 6 years ago

While apollo was announced to be the new datalayer for meteor, it is alarming how minimalistic the meteor integration is.

I noticed this when tried to do a login from a react-native app via apollo client to a meteor server.

the official documentation is out of date: https://www.apollographql.com/docs/react/recipes/meteor

and the only package that provides login for non-meteor-client apps is https://github.com/orionsoft/meteor-apollo-accounts which is also not very well maintained.

I believe that the account feature of meteor and its simplicity is one of the reasons, why meteor is still loved.

It's therefore crucial to the future of meteor, that it maintains an official version of accounts via apollo.

yorrd commented 6 years ago

Yes, please.

A little more perspective: I'm honestly completely confused as to what the state of Meteor <-> Apollo is. Is Apollo an addition to Meteor? If yes, will it replace DDP or work on top of DDP? Also if yes, how will you integrate the two more comfortably without any open ends (like account)? If not, will MDG shift towards Apollo plus a different build system to replace Meteor?

I know your struggle guys, it's hard to commit to tech that isn't already done yet. But that makes our struggle even greater because we need to build on top of your tech and it's impossible to decide if you don't know what the future will be coming from your end :)

Integrating Accounts into Meteor would show me that you still believe in Meteor and you try to integrate both worlds as good as possible to keep Meteor low-maintenance for devs, as opposed to the other solutions out there (webpack?).

macrozone commented 6 years ago

looking on the code at https://github.com/orionsoft/meteor-apollo-accounts, it's pretty straight forward, apart from some quirks of the server-side-api of meteor accounts. Being maintained by mdg would further improve the accounts api on meteor's side.

crapthings commented 6 years ago

https://github.com/cult-of-coders/meteor-apollo-accounts

macrozone commented 6 years ago

@crapthings this is just a copy of https://github.com/orionsoft/meteor-apollo-accounts. Would be better, if @nicolaslopezj would add more contributors. It's sad that so many packages die, just because the only person with merge rights is gone.

crapthings commented 6 years ago

@macrozone indeed

wish have new maintainer with that.

macrozone commented 5 years ago

would also be great, if mdg or tiny would integrate https://github.com/cult-of-coders/apollo-live-server or part of it into core