Abdul Taleb
09/06/2021, 4:42 PMJP (junaway)
09/06/2021, 5:44 PMApolloApi
construct is a higher level construct that makes it easy to create an Apollo Server with AWS Lambda. It is a 90 LOC wrapper around the Api
construct.
Before the ApolloApi
can be extended to support subscriptions via the WebSocketAPI
there should first be a higher level construct that makes it easy to create a pub/sub broker with AWS lambda, as a wrapper around the WebSocketAPI
, Table
, and potentially more constructs. (see https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/ for a vanilla implementation of a pub/sub broker)
I'd say it would be a two step process. And I don't know where the team is on this.
Also, why not use AppSyncApi
? I guess you already use ApolloApi
?