apollographql / apollographql/fullstack-tutorial
Me Resolver on final is misleading
Open
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 808
- PR merge metrics
- No merged PRs in 30d
Description
This is the resolver for me on final
```
me: async (_, __, { dataSources }) =>
dataSources.userAPI.findOrCreateUser(),
```
However it could (and probably should) be
```
me: async (_, __, context) => context.user
```
which is the logged in user authenticated by the authorization headers.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.