apollo-server/packages/apollo-server-cloudflare/src
Jesse Rosenberger 0dfa8ed39b
(compat) Avoid TypeScript 3.x features to maintain backwards compatibility.
This mostly reverts fd34771841 along with a
number of slight adjustments to avoid other typing luxuries which were
introduced with TypeScript 3.x.

While the generic `ServerOptionFunction` types and `HandlerArguments`
generic rest argument type were certainly welcome additions to the codebase,
they present a backwards compatibility problem for consumers of Apollo
Server who have not yet made the jump to TypeScript 3.x.

With any luck, when we bump the major version of Apollo Server to 3.x, and
in accordance with semantic versioning, we'll be in the position to
straight-up revert this commit.
2018-11-05 05:24:32 -08:00
..
types/cloudflare Import graphql-extensions+apollo-engine-reporting/no global apollo-server-env (#1259) 2018-06-27 16:29:00 -07:00
ApolloServer.ts Avoid Function.prototype.bind when invoking createGraphQLServerOptions. 2018-10-30 12:34:43 +02:00
cloudflareApollo.ts (compat) Avoid TypeScript 3.x features to maintain backwards compatibility. 2018-11-05 05:24:32 -08:00
index.ts Make apollo-server-env work with Cloudflare Workers and fly.io 2018-09-01 11:37:45 +02:00