Replies: 1 comment
-
NVM I was able to solve this myself by implementing a no-op WebSocketBroadcaster. I saw that graphql only needs it for keep-alive WS, and I don't care about that. I'm curious though.. if I wanted to do something like this in the future, I guess I could setup a websocket api and use something like this: No idea how to use WS though |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use graphql in a micronaut project for lambda AWS.
When I try to run the project locally (./gradlew run), I get an error that we don't have an instance for
WebSocketBroadcaster
The only implementation I found for this depends on Netty: https://docs.micronaut.io/3.2.7/api/io/micronaut/http/netty/websocket/NettyServerWebSocketBroadcaster.html
The local server seems to be an AwsApiProxyTestServer
I think there are 2 paths forward:
I haven't checked if it works in the actual lambda, I think it has better chances of running since it's an actual netty?
But.. anyway, is there any reason why we use Jetty instead of Netty for the aws test? And.. are there any plans to support this?
Beta Was this translation helpful? Give feedback.
All reactions