`runHttpQuery` alternative for non HTTP Frameworks? (ApolloServer RSocket Integration)

Hi! We’re actually reworking the whole API right now as part of Apollo Server 4, which you can follow along on the version-4 branch or the milestone or the roadmap.

As part of this we’re getting rid of the old standalone functions like runHttpQuery which date back to Apollo Server 1 when there wasn’t even an ApolloServer object at all. ApolloServer should end up with two main entry points: one which is “execute this HTTP request” and one which is “execute this parsed operation”. The latter will be basically like today’s executeOperation method which right now is largely for testing but which I think can be a bit better connected to the main flow in the new API.

I think executeOperation is likely your best bet for doing non-HTTP-based operation execution in AS3 today, and I hope it’ll be even more natural in AS4.

1 Like