Commit graph

80 commits

Author SHA1 Message Date
Prosper Otemuyiwa
ca35b9fe1c Docs: Remove all RC references in Apollo Server 2 documentation (#1377)
* Remove rc from getting-started

* Remove rc from migration engine

* Remove RC references from migration 2 dot

* Remove rc references

* Remove RC references and correct spellings

* Remove RC references from Essentials

* Remove all RC references
2018-07-19 12:44:02 -07:00
Jesse Rosenberger
b3c80f3b2e
docs: Hyphenate "in-memory". 2018-07-19 10:52:58 -07:00
Jesse Rosenberger
c94116e9a6
docs: Fix various links in the Apollo Server 2 documentation. (#1375)
Many of these links have changed as a result of page shuffling on other
repositories, such as the Engine documentation.
2018-07-19 10:52:07 -07:00
Martijn Walraven
08bede84ac Rename apollo-server-redis and apollo-server-memcached 2018-07-18 18:30:09 -07:00
Dan Dascalescu
e37f4beafa Mocking: fix typo 2018-07-18 06:24:02 -07:00
Evans Hauser
fbf6c6b226
update playground to include #1319 2018-07-13 10:43:38 -07:00
unicodeveloper
a31501ff66 DeleteD 2018-07-13 10:25:42 -07:00
Evans Hauser
990d915aec
Apollo Server 2: Remove formatParams (#1331)
* remove formatParams

* remove formatParams from documentation

* check for valid query string after persisted query mapping

* fix sentence about different logging and label extensions as experimental

* mark graphql-extensions as more experimental
2018-07-13 09:44:13 -07:00
Sasha Jolich
7f157da399 Fixed a couple typos (#1309) 2018-07-11 15:56:07 -07:00
Adam Zionts
11b867114e Move gui option into constructor and use playground (#1297)
* Add a wider diversity of `gui` options

Although I know we want to remain less tied to the GraphQL Playground
GUI options, we definitely want to support a wider variety of options to
be passed in. This adds support for specifying partial options either
statically or dynamically for the gui, which can be extended to allow
for a wider array of guis than only GraphQL playground.

* Add boolean option and configuration for tabs

* move gui setting into ApolloServer Constructor

* document playground configuration in the constructor

* update playground types and fixed micro + koa integrations

* change gui to playground

* docs: change gui to playground

* fix logic for playground creation
2018-07-11 15:42:00 -07:00
Evans Hauser
f9373bf341
add graphql types referenced in creating-directives 2018-07-10 10:26:21 -07:00
Jesse Rosenberger
8ad31377d8
Follow-up editorial for GraphQL Playground doc. (#1270). 2018-07-09 08:54:08 -07:00
Evans Hauser
02d31559da
Add GraphQL Playground Documentation (#1270)
* add initial playground documentation

* link to playground in whats-new

* address feedback
2018-07-05 16:17:39 -07:00
Martijn Walraven
23965de8a1 Add example of intercepting fetches and resolving URLs to data source docs 2018-07-03 13:46:18 +02:00
Mordechai Zuber
dae5349d57 Clarify docs for hybrid connections with middleware (#1285) 2018-07-02 14:09:07 -07:00
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