apollo-server icon indicating copy to clipboard operation
apollo-server copied to clipboard

Allow passing http2 server to ApolloServerPluginDrainHttpServer

Open jthoward64 opened this issue 8 months ago • 0 comments

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).

jthoward64 avatar Dec 06 '23 10:12 jthoward64