-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Milestone
Description
Right now, you can't combine AS4 with any released version of Apollo Gateway. This is for a combination of runtime and compile time reasons.
The runtime reason is that the executor function returned by AG takes an AS3 GraphQLRequestContext, not an AS4 one.
The compile time reason is that Gateway has dependencies on AS3 code and the two declare module declarations in AS4 conflict with the AS3 versions.
I suspect the best fix for the compile time issue is to just break the dependency via #6057.
My current theory about the best fix for the runtime reason is just to have some code that converts an AS4 GraphQLRequestContext into an AS3-style one, and leave it there indefinitely (since Gateway is somewhat terminal to be replaced by Router anyway).
Metadata
Metadata
Assignees
Labels
No labels