Commit graph

2545 commits

Author SHA1 Message Date
Martijn Walraven
24d0d438c3 Remove local graphql dependency 2018-11-09 09:18:37 -08:00
Martijn Walraven
8c9666d4d7 Update apollo-tools dependency 2018-11-09 09:12:51 -08:00
Martijn Walraven
e4a55498f8 Collect fields and pass these to resolveObject() 2018-11-09 05:49:58 -08:00
Martijn Walraven
8f6481e60f Add modules option to ApolloServer 2018-11-09 05:07:08 -08:00
Martijn Walraven
bb67584a22 Add support for resolveObject to query execution 2018-11-09 05:07:07 -08:00
Renovate Bot
3413c59ace chore(deps): update dependency @types/node to v10.12.3 2018-11-09 11:02:22 +00:00
Peter
d81ae051e7 Update README.md with the latest package name (#1936) 2018-11-08 16:29:18 -08:00
Divyendu Singh
0d6b8f24e6 Update README.md (#1938) 2018-11-08 14:53:18 -08:00
Martijn Walraven
6bd73b175f Publish
- apollo-cache-control@0.3.0
 - apollo-datasource-rest@0.2.0
 - apollo-datasource@0.2.0
 - apollo-engine-reporting-protobuf@0.1.0
 - apollo-engine-reporting@0.1.0
 - apollo-server-azure-functions@2.2.0
 - apollo-server-cache-memcached@0.2.0
 - apollo-server-cache-redis@0.2.0
 - apollo-server-caching@0.2.0
 - apollo-server-cloud-functions@2.2.0
 - apollo-server-cloudflare@2.2.0
 - apollo-server-core@2.2.0
 - apollo-server-env@2.2.0
 - apollo-server-errors@2.2.0
 - apollo-server-express@2.2.0
 - apollo-server-hapi@2.2.0
 - apollo-server-integration-testsuite@2.2.0
 - apollo-server-koa@2.2.0
 - apollo-server-lambda@2.2.0
 - apollo-server-micro@2.2.0
 - apollo-server-plugin-base@0.1.0
 - apollo-server-testing@2.2.0
 - apollo-server@2.2.0
 - apollo-tracing@0.3.0
 - graphql-extensions@0.3.0
2018-11-07 08:17:21 -08:00
Renovate Bot
3e955ab468 chore(deps): update dependency @types/hapi to v17.6.3 2018-11-07 12:07:36 +00:00
Jesse Rosenberger
ad8fb2f96c
Convert tabs to spaces in package.json. 2018-11-06 16:45:18 -08:00
Jesse Rosenberger
3eada89827
Publish
- apollo-server-azure-functions@2.2.0-alpha.4
2018-11-06 16:38:19 -08:00
Jesse Rosenberger
e1e126fc76
For lerna. 2018-11-06 16:24:23 -08:00
Jesse Rosenberger
6346be3a6f
Publish
- apollo-server-azure-functions@2.2.0-alpha.4
2018-11-06 16:03:16 -08:00
Jesse Rosenberger
0b1f887db2
Lower version of apollo-server-azure-functions to publish correct version via lerna. 2018-11-06 16:02:39 -08:00
Michael Watson
6c87cbc291 Correct name of Azure implementation to match original name. (#1926) 2018-11-06 13:46:33 -08:00
Jesse Rosenberger
79fe6bf0bf
Publish
- apollo-server-azure-function@2.2.0-alpha.4
 - apollo-server-cloud-functions@2.2.0-alpha.4
 - apollo-server-cloudflare@2.2.0-alpha.4
 - apollo-server-core@2.2.0-alpha.4
 - apollo-server-express@2.2.0-alpha.4
 - apollo-server-hapi@2.2.0-alpha.4
 - apollo-server-integration-testsuite@2.2.0-alpha.4
 - apollo-server-koa@2.2.0-alpha.4
 - apollo-server-lambda@2.2.0-alpha.4
 - apollo-server-micro@2.2.0-alpha.4
 - apollo-server-plugin-base@0.1.0-alpha.4
 - apollo-server-testing@2.2.0-alpha.4
 - apollo-server@2.2.0-alpha.4
 - graphql-extensions@0.3.0-alpha.4
2018-11-06 11:33:35 -08:00
Jesse Rosenberger
52f210dcdd
Bump apollo-server-azure-functions to 2.2.0-alpha.3 to align versions. 2018-11-06 11:32:03 -08:00
Leonid Buneev
5b64cf9160 apollo-server-azure-function v2 implementation. (#1753)
Closes #1752.
2018-11-06 11:28:25 -08:00
Jesse Rosenberger
c757fe5522
Merge branch 'abernix/plugin-factory-function-not-class' 2018-11-06 10:19:11 -08:00
Jesse Rosenberger
25cbd3ad61
Don't require a plugin to subclass ApolloServerPlugin.
To avoid problems frequently associated with subclassing, and the possible
versioning ergonomics of subclassing the wrong version, this changes the
plugin infrastructure to no longer require subclassing the abstract class.
2018-11-06 10:01:52 -08:00
Renovate Bot
1acacf09a2 chore(deps): update dependency node-fetch to v2.2.1 2018-11-06 17:09:33 +00:00
Renovate Bot
b1664cdff0 chore(deps): update dependency hapi to v17.7.0 2018-11-06 11:54:10 +00:00
Renovate Bot
9dcd09948b chore(deps): update dependency @types/lodash to v4.14.118 2018-11-06 09:28:57 +00:00
Renovate Bot
cecf58da1c chore(deps): update dependency @types/koa-router to v7.0.33 2018-11-06 07:33:59 +00:00
Jesse Rosenberger
5ca4c07bd5
Publish
- apollo-cache-control@0.3.0-alpha.3
 - apollo-engine-reporting-protobuf@0.1.0-alpha.3
 - apollo-engine-reporting@0.1.0-alpha.3
 - apollo-server-cloud-functions@2.2.0-alpha.3
 - apollo-server-cloudflare@2.2.0-alpha.3
 - apollo-server-core@2.2.0-alpha.3
 - apollo-server-express@2.2.0-alpha.3
 - apollo-server-hapi@2.2.0-alpha.3
 - apollo-server-integration-testsuite@2.2.0-alpha.3
 - apollo-server-koa@2.2.0-alpha.3
 - apollo-server-lambda@2.2.0-alpha.3
 - apollo-server-micro@2.2.0-alpha.3
 - apollo-server-plugin-base@0.1.0-alpha.3
 - apollo-server-testing@2.2.0-alpha.3
 - apollo-server@2.2.0-alpha.3
 - apollo-tracing@0.3.0-alpha.3
 - graphql-extensions@0.3.0-alpha.3
2018-11-05 21:36:39 -08:00
Jesse Rosenberger
58711be91a
Bump apollo-engine-reporting-protobuf to align prerelease version suffix. 2018-11-05 21:22:20 -08:00
James Baxley
3d69124340 change clientId => clientReportingId and schemaBranch => schemaTag (#1921)
@abernix this should be a lot more clear 👍
2018-11-05 21:18:25 -08:00
Jesse Rosenberger
a6872c2f6c
Publish
- apollo-cache-control@0.3.0-alpha.2
 - apollo-datasource-rest@0.2.0-alpha.2
 - apollo-datasource@0.2.0-alpha.2
 - apollo-engine-reporting@0.1.0-alpha.2
 - apollo-server-cache-memcached@0.2.0-alpha.2
 - apollo-server-cache-redis@0.2.0-alpha.2
 - apollo-server-caching@0.2.0-alpha.2
 - apollo-server-cloud-functions@2.2.0-alpha.2
 - apollo-server-cloudflare@2.2.0-alpha.2
 - apollo-server-core@2.2.0-alpha.2
 - apollo-server-express@2.2.0-alpha.2
 - apollo-server-hapi@2.2.0-alpha.2
 - apollo-server-integration-testsuite@2.2.0-alpha.2
 - apollo-server-koa@2.2.0-alpha.2
 - apollo-server-lambda@2.2.0-alpha.2
 - apollo-server-micro@2.2.0-alpha.2
 - apollo-server-plugin-base@0.1.0-alpha.2
 - apollo-server-testing@2.2.0-alpha.2
 - apollo-server@2.2.0-alpha.2
 - apollo-tracing@0.3.0-alpha.2
 - graphql-extensions@0.3.0-alpha.2
2018-11-05 11:45:46 -08:00
Jesse Rosenberger
c5e1760894
Adjust apollo-server-testing to start at 2.2.0-alpha.2. 2018-11-05 11:43:15 -08:00
Jesse Rosenberger
d7d4495b7b
(perf) Stop adding the checkOperationPlugin on every request.
This was causing the `checkOperationPlugin` to be added to the list of
plugins to be executed, thus resulting in an additional plugin pass (of the
same plugin) for each request.

1st request = 1 plugin
2nd request = 2 of the same plugin
3rd request = 3 of the same plugin

Obviously, this was not intended.
2018-11-05 11:23:26 -08:00
Jake Dawkins
e3d5be954f Introduce apollo-server-testing package. (#1909) 2018-11-05 11:22:30 -08:00
Jesse Rosenberger
422609e621
Merge pull request #1900 from apollographql/abernix/preserve-typescript-2-compat
Preserve TypeScript 2 Backwards compatibility until Semver Major
2018-11-05 07:14:45 -08:00
Renovate Bot
edbcb971e9 chore(deps): update dependency @types/request to v2.48.1 2018-11-05 13:57:26 +00:00
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
Renovate Bot
e320818218 chore(deps): update dependency hapi to v17.6.4 2018-11-03 06:25:40 +00:00
Renovate Bot
217cbaa2be chore(deps): update dependency hapi to v17.6.3 2018-11-03 03:52:29 +00:00
Renovate Bot
1553f7d43c chore(deps): update dependency husky to v1.1.3 2018-11-02 08:52:04 +00:00
Renovate Bot
aac00244c9 chore(deps): update dependency hapi to v17.6.2 2018-11-02 08:05:25 +00:00
Renovate Bot
523fb0ca41 chore(deps): update dependency @types/node to v10.12.2 2018-11-02 06:25:15 +00:00
Jake Dawkins
75b19b82f2
Clarified wording of mocking docs (#1901)
* clarified wording of mocking docs

* Update mocking.md
2018-11-01 18:27:50 -04:00
Renovate Bot
ecca162ce3 chore(deps): update dependency @types/jest to v23.3.9 2018-10-31 05:49:50 +00:00
Renovate Bot
2401272918 chore(deps): update dependency @types/aws-lambda to v8.10.15 2018-10-31 05:02:33 +00:00
Renovate Bot
06df04e1a9 chore(deps): update dependency graphql-tools to v4.0.3 2018-10-30 19:07:42 +00:00
Tomáš Szabo
abbe382785 Make mocking configuration less confusing. (#1835)
* Make mocking configuration less confusing.
Setting mocks to false will always disable mocking.

* Updated CHANGELOG
2018-10-30 09:14:12 -07:00
Jesse Rosenberger
b841ed6530
Allow 0.5% drop in codecov since it sometimes drops by tenths of percents. 2018-10-30 17:04:36 +02:00
Jesse Rosenberger
64e9099f86
Export CloudFunctionGraphQLOptionsFunction type, like other integrations.
This wasn't currently being exported, but this in-between commit will make
sure that the commit which follows this can be reverted without
inadvertently dropping this export.
2018-10-30 12:50:18 +02:00
Jesse Rosenberger
b98191c431
Avoid Function.prototype.bind when invoking createGraphQLServerOptions.
By avoiding this pattern, we can maintain better typing for users of
TypeScript 2.8, which didn't maintain typings when passing through
`Function.prototype.bind` calls.

Also, personally, this just appears to be more readable.
2018-10-30 12:34:43 +02:00
Renovate Bot
a477bf9cd4 chore(deps): update dependency @types/node to v10.12.1 2018-10-30 06:29:55 +00:00
renovate[bot]
bda1a75d80 chore(deps): update dependency redis-mock to v0.37.0 (#1895) 2018-10-29 13:44:08 +01:00