Right now gateway has a somewhat generic GraphQLService interface but it's unclear that we would support anything other than ApolloGateway. Maybe we should change the type to ApolloGateway (or something named reflecting it if we need to bust cyclic dependencies)? Maybe we should at least make all its methods (like stop) required? Maybe we should add functionality to the plugin interface so that gateway could just be a plugin?
Right now
gatewayhas a somewhat genericGraphQLServiceinterface but it's unclear that we would support anything other than ApolloGateway. Maybe we should change the type toApolloGateway(or something named reflecting it if we need to bust cyclic dependencies)? Maybe we should at least make all its methods (likestop) required? Maybe we should add functionality to the plugin interface so that gateway could just be a plugin?