Is there an ApolloApi stack in the works that will...
# sst
a
Is there an ApolloApi stack in the works that will support subscriptions via websocket lambda?
j
TL;DR I don't know. My view From the docs, the 
ApolloApi
 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
?