Commit graph

44 commits

Author SHA1 Message Date
Martijn Walraven
14247279ec Remove logFunction
We now support custom extensions, which have a much nicer API.
2018-06-21 16:05:48 +02:00
clarencenpy
406b4fda4b update link to point to the package on npmjs 2018-06-20 19:54:52 +02:00
Martijn Walraven
0928d79efb Move in memory cache to apollo-server-caching 2018-06-20 11:06:24 +02:00
Martijn Walraven
3f3b0eb1f8 Rename Memcached and Redis cache classes 2018-06-20 10:04:37 +02:00
clarencenpy
958fa65ddb Update data source docs and add instructions for Memcached and Redis caches 2018-06-20 10:04:37 +02:00
Clarence Ngoh
387f25067a rename BadUserInputError to UserInputError (#1197)
reason: "bad" and "error" are redundant
2018-06-19 15:15:24 -07:00
Martijn Walraven
60c0f587c1 Update data sources docs 2018-06-19 23:47:25 +02:00
Daniel Ferreira
f07afc17aa added missing 'new' keyword 2018-06-18 02:36:32 -03:00
Evans Hauser
0eed62378f
docs: add install for rest data source 2018-06-15 10:26:24 -07:00
Daniele Zurico
fdfb53220b docs: Correct typos in Features/Subscriptions. (#1178) 2018-06-15 16:06:10 +03:00
Evans Hauser
ff91ba93d4
docs: add subscriptions by @daniele-zurico into the index 2018-06-15 00:00:25 -07:00
Martijn Walraven
685d3399db Apollo Server 2.0 - Caching + RESTDataSource (#1163)
* 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
2018-06-14 23:13:33 -07:00
Evans Hauser
e420094f3d
docs: remove old hapi migration and move images into same folder 2018-06-13 15:15:09 -07:00
Evans Hauser
5e59605c1e
docs: remove GraphiQL and old migration guides 2018-06-13 14:02:49 -07:00
Evans Hauser
a7cd3a43e8 Apollo Server 2:Automatic Persisted Queries (#1149) 2018-06-11 15:44:20 -07:00
Clarence Ngoh
5f307928a2 Add BadUserInputError as extension of ApolloError (#1143)
* Add BadUserInputError and TransientError as extensions of ApolloError

* remove TransientError

* update test so that properties end up under `error.extensions.exception`

* update documentation to talk about BadUserInputError

* check for properties after formatApolloErrors has been called

* fixed highlighted lines for docs

* export BadUserInputError from `apollo-server`

* fixed highlighted lines for docs

* export BadUserInputError from `apollo-server`

* update changelog
2018-06-08 10:39:23 -07:00
Evans Hauser
62a4e04cf6
docs: convert import to requires (#1150) 2018-06-07 11:40:41 -07:00
Evans Hauser
5b4644fbfd
docs: add missing gql tags and add comments that gql is necessary for apollo-server 2018-06-06 11:21:05 -07:00
Evans Hauser
3deceffe93
docs: add section on logging under features 2018-06-04 14:35:39 -07:00
unicodeveloper
8821ba522a import ApolloError 2018-06-01 21:32:57 +01:00
Evans Hauser
d84061b148
docs: remove old way of adding schema directives 2018-05-22 17:39:37 -07:00
Evans Hauser
531162c693
docs: fix dead links 2018-05-22 17:39:19 -07:00
Evans Hauser
0a552374c7
docs: add api reference link to delegateSchema in schema-delegation 2018-05-09 11:12:00 -07:00
Evans Hauser
b6b5790ae8
docs: add graphql-tools references in mocking 2018-05-08 18:49:50 -07:00
Danilo Britto Nuñez
3e00182a16 Docs: Fix typo in mocking section(#1048) 2018-05-08 13:52:37 -07:00
Jesse Rosenberger
fad123bb71
Remove top level H1s. 2018-05-03 10:20:30 -07:00
Jesse Rosenberger
5f6ac7831d
docs: [link-removal] temporarily remove links 2018-05-02 16:57:34 -07:00
Jesse Rosenberger
d3af7e5816
Link additional items 2018-05-02 16:57:20 -07:00
Jesse Rosenberger
bef8d24a48
link to dataloader 2018-05-02 16:22:01 -07:00
Jesse Rosenberger
ac3ba6f857
Change "root" argument to "parent". 2018-05-02 16:21:09 -07:00
Jesse Rosenberger
a5c6d2e1fc
Remove material summary 2018-05-02 16:21:09 -07:00
Evans Hauser
ba9ee6274a
Merge pull request #1022 from apollographql/evans/error-docs
Add error handling docs section to features
2018-05-02 11:51:47 -07:00
Evans Hauser
33697e68a7
docs: reword intro for features/errors 2018-05-02 11:46:29 -07:00
Evans Hauser
222400ebf4
docs: fix line highlightin features/errors 2018-05-02 11:38:20 -07:00
Evans Hauser
0bcfeb1f3d
docs: remove unused AuthenticationError from features/errors 2018-05-02 11:33:17 -07:00
Evans Hauser
a24ef8da16
docs: root -> parent in feature/errors 2018-05-02 11:32:04 -07:00
Evans Hauser
32caf0aa10
docs: add error handling section 2018-05-02 11:19:14 -07:00
Peggy Rayzis
fa2aa2c54c Restructured essentials (#1019)
* Restructured essentials

* Fix broken links
2018-05-02 06:49:49 -07:00
Sashko Stubailo
e8344befae Make some improvements to schema stitching page 2018-05-01 22:48:09 -07:00
Evans Hauser
d16c08536c
docs: add clarity around mocks object combined with resolvers 2018-05-01 17:08:38 -07:00
Evans Hauser
a658eb4843
docs: directives sections using and implementing titles 2018-05-01 16:46:09 -07:00
Evans Hauser
1b8a2936d3
docs: initial union and interfaces page 2018-05-01 16:12:43 -07:00
Sashko Stubailo
727d782f66 Organize into features section 2018-05-01 14:48:54 -07:00
Evans Hauser
de7f20990b Forklift Schema Stitching Docs from graphql-tools (#1008)
* docs: copy initial stitching sections from graphql-tools

* docs: convert schema stitching introduction to use apollo-server

* docs: remote-schema shortened to contain links only

* docs: schema delegation shortened to remove api reference

* docs: rename schema-stitching to features
2018-05-01 14:07:14 -07:00