Closed d-exclaimation closed 3 years ago
Prerequisites
Changes
ProxyActions
.OverWebsocket
.0.2.0
release or with other patches for 0.1.3
update.GQL_START
/ Subscribe
.GQL_DATA
/ Next
.GQL_COMPLETE
/ Complete
for non subscription operation.
Description
Allowing no subscription operation. At the moment, I restrict the transport layer to only accept subscription as non subscription are usually sent via regular HTTP. However, I do think it's very possible to add this capability, not to mention, there are no limitations like what were on Whiskey.
Do note that mutation on subscription probably have less security and more potential exploits and vulnerability. Adding back the security convenience of HTTP over a single web-socket connection would be more work than necessary.
Solution suggestion
Let
ProxyServer
handle non subscription operations immediately instead of passing down toEnvoy
as this will be a short lived operation and will not collide with the executor streaming setup onEnvoy
.