Commit graph

65 commits

Author SHA1 Message Date
unicodeveloper
9d326ff8ce Delete the files 2018-07-02 08:10:24 +01:00
Evans Hauser
80174d2197
Further improves subscriptions docs (#1263)
* docs: address feedback from #1255

* add alternative pubsub implementations and improve clarity
2018-06-29 10:42:24 -07:00
Evans Hauser
738a933e81
docs: add persited query cache configuration 2018-06-28 12:43:32 -07:00
Jesse Rosenberger
ea25edc776 docs: Use sentence case for title names. (#1258)
Ref: https://docs-docs.netlify.com/docs/docs/formatting.html#sentence-case
2018-06-27 10:01:40 -07:00
Evans Hauser
28cec7e92f
docs: Engine Reporting API and pass Engine API key in constructor (#1256)
- docs: add engine api and sync api key pass in with engine-docs
2018-06-27 10:00:49 -07:00
Evans Hauser
62ff5c6ce6
Improve Subscriptions Dev/Docs Experience (#1255)
* fix hapi playground version, a-s exports subscription url, and document subscriptions

* remove unused subscription lifecycle methods
2018-06-27 09:59:21 -07:00
Jake Dawkins
8c9eaf0774
Added other HTTP methods to DataSource Docs (#1254)
* add other http methods to docs

* added section headers
2018-06-27 09:45:14 -04:00
Jake
6f99c45e4e added slash to end of example base urls 2018-06-26 16:45:25 +02:00
Jake
6ccb79055f added constructors 2018-06-26 16:45:25 +02:00
Ben Iofel
b54402fb53 Update unions-interfaces.md (#1196) 2018-06-26 17:35:47 +03:00
unicodeveloper
c58665ae4d Add feedbacl 2018-06-25 23:45:21 +01:00
unicodeveloper
ef5e1e1758 Resolve comflicts 2018-06-25 07:48:14 +01:00
unicodeveloper
7f1b59d9d4 Add feedback 2018-06-25 07:30:08 +01:00
unicodeveloper
85aefb7bbb Fix 2018-06-25 07:17:45 +01:00
Tejas Kumar
7dc280df32 Fix Typo resovers -> resolvers (#1233)
* Fix Typo resovers -> resolvers

* Fix typo migh -> might

* Fix typo resover -> resolver again
2018-06-22 15:53:02 -07:00
Evans Hauser
c8d747b021
Document Reporting to Engine and Add to migration guide (#1223)
* change logging to metrics and add section on Engine

* add to the migration guide

* address feedback and add clarity around logFunction

* address feedback for migration guide
2018-06-22 14:35:27 -07:00
unicodeveloper
5a8043b387 Add meat to the file upload page 2018-06-22 19:00:37 +01:00
unicodeveloper
1bf2313f08 Initial documentation 2018-06-22 15:22:31 +01:00
unicodeveloper
4b0a8f4e27 Add file upload page 2018-06-22 14:57:57 +01:00
Evans Hauser
65d7b100e4
CDN cache-control headers (#1138)
* core: return response object from runHttpQuery

* core: change gqlResponse to graphqlResponse and add custom RequestInit type

* core: add cache-control headers based on the calcualted maxAge

* core: add extensions check during cache-control header creation

* core: create headers when cacheControl is not enabled otherwise pass through extensions

* express: initial tests of CDN cach-contol headers

* core: fixed tests with applyMiddleware and pass cacheControl config

* core: cache hint fixes, ignore when no maxAge, and check for rootKeys

* core: check for hints of length 0

* core: node 10 fails file upload test for some stream reason

* docs: add cdn caching section to features

* add space after // in comments

* fix feedback: proxy alignment and response creation

Adds cache-control toggles for http header calculation and stripping out
the cache control extensions from the respose.

Brings the default calculation of headers in line with the proxy.

* fix links in comments

* fix tests with null dereference

* update cdn docs and migration guide to include latest cdn configuration

* add not for engine migration to set engine to false

* add engine set to false in migration guide

* express: fixed tests

* address feedback to use omit and documentation

* docs: cdn caching is alternative to full response caching

* add back epipe check in upload tests
2018-06-21 13:29:14 -07:00
Martijn Walraven
14247279ec Remove logFunction
We now support custom extensions, which have a much nicer API.
2018-06-21 16:05:48 +02:00
unicodeveloper
0d863f736f Add file uploads feature section to Apollo Server docs 2018-06-20 19:27:46 +01: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