* This is a function that gets called by ApolloServer when being setup. * This function gets called with the datasource config including things * like caches and context. We'll assign this.context to the request context * here, so we can know about the user making requests
(config)
| 17 | * here, so we can know about the user making requests |
| 18 | */ |
| 19 | initialize(config) { |
| 20 | this.context = config.context; |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * User can be called with an argument that includes email, but it doesn't |