apollo-server
apollo-server copied to clipboard
Allow passing http2 server to ApolloServerPluginDrainHttpServer
Looking at the code for the drain plugin I don't think there's anything that isn't compatible with both and it would be nice if the TypeScript signature for ApolloServerPluginDrainHttpServer allowed passing in an http2.Server or an http.server (basically just make it an union).