up icon indicating copy to clipboard operation
up copied to clipboard

WebSocket support

Open tj opened this issue 6 years ago • 7 comments

Just announced, I don't know the details yet

tj avatar Nov 29 '18 18:11 tj

FYI https://www.youtube.com/watch?v=3SCdzzD0PdQ

Tsing avatar Dec 14 '18 04:12 Tsing

@tsing a nice thanks! I'll check that out

tj avatar Dec 14 '18 12:12 tj

I'm trying it with Apollo Subscriptions but I guess this is not supported yet? @tj

berkaytheunicorn avatar May 02 '19 15:05 berkaytheunicorn

Any suggestion to manually get it done?

berkaytheunicorn avatar May 02 '19 15:05 berkaytheunicorn

I don't think there's a trivial way to make them work transparently as "regular" websockets implementation-wise, since you have to write messages to a particular AWS endpoint and they get published. Tt's still kind of a layer of lock-in since you have to code for it explicitly, I'll have to look into it more but not sure there's much I can do

tj avatar May 02 '19 16:05 tj

I found this. https://github.com/michalkvasnicak/aws-lambda-graphql I didn't have time to check it out totally. Can you suggest anything else? or did you try this before, If you have example working with up, would be the best!

berkaytheunicorn avatar May 02 '19 17:05 berkaytheunicorn

I still have to try it, I think it's extra awkward because your API has to be WS or REST as well which is a little weird haha, not sure if I'll be able to make it very comparable to vanilla WS

tj avatar May 03 '19 09:05 tj