VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor

Home Page:http://vulcanjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove dependency to meteor/apollo getUser

eric-burel opened this issue · comments

getUser is only a small helper to get the user based on its auth token.

We should duplicate this code in Vulcan and get rid of "meteor/apollo" dependency for this usage.

Relevant code:

Also, setupAuthToken should be exported in order to be reused in Express endpoints more easily.

Closed by #2706