This removes an unnecessary instruction to install `apollo-server` when using the middleware option with Apollo Server 2.0.
While this was necessary in earlier versions of the Apollo Server 2.0 alpha and beta releases, it is no longer needed.
* Refactored caching connectors into their own packages
- apollo-server-caching (exports interface for KeyValueCache)
- apollo-server-caching-memcached
- apollo-server-caching-redis
One issue now is that there is duplication of mocks and test code in each of the packages. It would be better if we had centralized integration tests for all cache connectors, community contributed or otherwise.
* export test suite for cache connectors from `apollo-server-caching`
* fixed tsconfig.json
* added @types
This was still linked from the v2 getting started page. While it will
eventually link to the "Deployment" guide index page where we'll offer
guides for other deployment options, that content is not written.
For now, we'll offer those getting statred to deploy with Heroku, which is
written!
Ref: https://twitter.com/jevakallio/status/1007915638919192577
cc (and thanks) to @jevakallio for pointing this out.
* add doc for subscriptions
* apply few changes to the readme
* apply few changes to the readme
* add more informations in case req is null
* changed last sentence
* apply comments
* typo
* remove idea folder
* fix indentation
* fix typo
* subscriptions with middleware
* subscriptions with middleware
* subscriptions with middleware
* Enable declarationMap in tsconfig.json
See http://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html
* Add apollo-server-caching package and improve typings
* Remove superfluous test steps
* Add .npmignore to apollo-server-caching
* Add apollo-server-env and apollo-datasource-rest packages
* Fix broken imports
* Use prepublish instead of prepare
* cache is now passed to data sources from ApolloServer constructor
* fix Object.values to use the object passed in rather than this
* add initial datasource test
* docs: initial data source documentation
* docs: initial data source documentation
* compiles and documentation now highlights code in data-sources.md
* Some changes to the data source docs
Since f0f75b183e93cc91d31255e7ffd60c1de5d4f16e, it seems important to
restore the reasoning for the usage of `yarn` to avoid confusion in the
future. This comment was originally removed in 301e144d23.
This reverts the comment from that commit and further improves the clarity.
Ref: https://github.com/apollographql/apollo-server/commit/301e144d#r29319011