Commit graph

273 commits

Author SHA1 Message Date
Vince Picone
11f0383384 Add npm start script to now setup (#1276)
The package.json requires a start script, copying as is gives an error in now CLI: `> Error! Missing `start` (or `now-start`) script in `package.json`. See: https://docs.npmjs.com/cli/start`
2018-07-02 14:07:19 -07:00
unicodeveloper
9d326ff8ce Delete the files 2018-07-02 08:10:24 +01:00
Nicola Molinari
59ca96c861 docs(migration-engine): fix typo in code example (#1273) 2018-06-29 10:47:42 -07: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
67c4812b45
docs: update engine option to ApolloServer constructor 2018-06-28 13:26:26 -07:00
Evans Hauser
9b67773337
docs: add callout to install apollo-server-express 2018-06-28 13:24:31 -07:00
Evans Hauser
738a933e81
docs: add persited query cache configuration 2018-06-28 12:43:32 -07:00
Prosper Otemuyiwa
49015f9bf7
Merge pull request #1269 from apollographql/add-zeit-deploy
Zeit's Now Deployment  Guide
2018-06-28 16:26:18 +01:00
unicodeveloper
a796420dbf Last unecessary code highlighting removed. 2018-06-28 16:23:08 +01:00
unicodeveloper
7718cd2633 Remove unecessary code highlighting 2018-06-28 16:20:25 +01:00
unicodeveloper
06db214fc1 Add feedback 2018-06-28 16:13:36 +01:00
unicodeveloper
290b9f05f7 Remove apollo-engine. Apollo Server's got it covered 🔥 2018-06-28 15:59:09 +01:00
unicodeveloper
a823bd869c Fix grammar 2018-06-28 15:35:11 +01:00
unicodeveloper
beb1c23bab Add Zeit deployment guide 2018-06-28 15:21:54 +01: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
caee155835 Fix the path 2018-06-26 11:36:56 +01:00
unicodeveloper
4a05521607 Add performance monitoring to what's new 2018-06-26 11:05:12 +01:00
Evans Hauser
84f13babcd
docs: add graphql install next to integrations npm install's 2018-06-25 17:11:08 -07:00
Alessio Dionisi
2b925c4725 add graphql dependency to docs (#1244) 2018-06-25 16:37:12 -07: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
Prosper Otemuyiwa
daaa522bb9
Merge pull request #1228 from apollographql/add-lambda-docs
Apollo Server Lambda Docs
2018-06-25 07:42:24 +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
Brian Dennis
73ec5e0c2a
docs: fix typo in whats new documentation 2018-06-24 12:11:19 -05:00
Evans Hauser
846579db33
update README's and remove docs for registerServer (fixes #1216) 2018-06-22 17:51:56 -07: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
d25aa20a51 Add Lambda docs 2018-06-22 15:17:01 +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
Evans Hauser
9af856c2c8
Typescript Improvements and esModuleInterop fix (#1210)
* add string input to gql tag

* remove esModuleInterop, tested locally

* change IMPORT_FUNCTION to something real

* fix the rest of the tests
2018-06-20 16:21:50 -07: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
Jesse Rosenberger
7f7f70e13c
docs: Update middleware migration instructions in 2.0 migration guide.
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.
2018-06-19 22:57:09 +03:00
Prosper Otemuyiwa
2913465c41
Merge pull request #1187 from danferreira/fix-docs
[DOCS] added missing 'new' keyword at error handling examples
2018-06-18 02:03:58 -04:00