Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
docs: mention userId availability in method calls
Browse files Browse the repository at this point in the history
And also collection hooks and other places people expect a userId. This
is very important for Meteor developers, especially when using the
default mongo and accounts packages.

See apollographql/meteor-integration#92 for
discussion.
  • Loading branch information
Michiel ter Reehorst committed Feb 26, 2018
1 parent 121ae7a commit a138774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ DDP-Apollo has been created to leverage the power of DDP for GraphQL queries and

- DDP-Apollo is one of the easiest ways to get GraphQL running for Meteor developers
- Works with the Meteor accounts packages out of the box, giving a userId in your resolvers
- Method calls and collection hooks will have `this.userId` when called within your resolvers
- Doesn’t require an HTTP server to be setup, like with express, koa or hapi
- Supports GraphQL Subscriptions out-of-the-box
- Doesn’t require an extra websocket for GraphQL Subscriptions, because DDP already has a websocket
Expand Down

0 comments on commit a138774

Please sign in to comment.