I use serverless, so under events in the yml you’d add upload as a path with the method post, and then you have the other endpoint graphql with the method post. How ever you do another endpoint in whatever your using would be the way to go.
I very interested by your experience with middleware, createdHandler and serverless.
When you say :
I use serverless, so under events in the yml you’d add upload as a path with the method post, and then you have the other endpoint graphql with the method post. How ever you do another endpoint in whatever your using would be the way to go.
Did you describe a similaire code that it , for your yml file?
upload-path-graphql:
handler: ./src/functions/upload-path-graphql.handler
description: test upload path appolo server
events:
- http:
path: /upload
method: post
cors: true
- http:
path: /graphql
method: post
cors: true
Have you got an experience in Subscription graphql when you use a similar approach ?