meteor-integration
                                
                                 meteor-integration copied to clipboard
                                
                                    meteor-integration copied to clipboard
                            
                            
                            
                        Document how to call code that relies on server-side global Meteor.userId()
Cross-posted from https://github.com/apollostack/docs/issues/23
Wouldn't mutations and queries replace meteor methods and pub/sub? So, we wouldn't need to use Meteor.userId() at all because this where we get the user info. Am I right?
We would use context.userId in our own code, but maybe we're calling a library that assumes the presence of Meteor.userId on the server.
Ah ok. gotcha!
@lorensr, I will be supporting that out of the box in ddp-apollo. It will just work, even if you use an HTTP endpoint. See above PR for details. Cheers.