This is probably an easy question but I have been struggling to get this to work :(
Using this example:
https://github.com/graphcool/graphql-yoga/tree/master/examples/lambda
except trying to modify it so that it uses this boilerplate (or any of them really):
https://github.com/graphql-boilerplates/node-graphql-server/tree/master/advanced
I tried to modify the "function/(graphql & playground)/handler" in the serverless.yml file to point to src/index.js file and export the both the server/playground (like in the graphql-yoga example) but that didn't work when deploying to AWS like I expected it to. Is that the right approach and I'm just making a mistake somewhere along the way?