Commit graph

64 commits

Author SHA1 Message Date
unicodeveloper
01efbf07af link to now in the sidebar 2018-06-28 15:28:08 +01:00
Prosper Otemuyiwa
209764324f
Merge pull request #1207 from apollographql/add-file-uploadspage
File Uploads Section
2018-06-25 23:49:52 +01:00
Prosper Otemuyiwa
f3fd52da21 Add lambda to sidebar (#1240) 2018-06-25 11:04:10 -07:00
unicodeveloper
ef5e1e1758 Resolve comflicts 2018-06-25 07:48:14 +01: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
5dfe2b5255 Add file upload section on sidebar 2018-06-22 19:04:53 +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
Jesse Rosenberger
f4bba1de1e
docs: Add version to _config.yml for "Edit on GitHub" on version branches. 2018-06-20 18:31:04 +03:00
Jesse Rosenberger
d28982bddc
docs: Add version "2" back, which was lost in a merge.
This was lost in 639b104232.
2018-06-15 17:37:15 +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
1f9f307d55
docs: initial engine migration guide 2018-06-14 13:24:56 -07:00
David Glasser
1fd3b216d0 Remove engineProxy support
We recommend the use of apollo-engine-reporting and the other built-in features
of AS 2.0 rather than engineProxy. You can still use the apollo-engine npm
module manually with AS 2.0, or stay on AS 1.0.
2018-06-13 12:32:05 -07:00
Evans Hauser
a7cd3a43e8 Apollo Server 2:Automatic Persisted Queries (#1149) 2018-06-11 15:44:20 -07:00
Evans Hauser
1bfead6586
docs: remove section on resolvers 2018-06-06 11:36:49 -07:00
Evans Hauser
3deceffe93
docs: add section on logging under features 2018-06-04 14:35:39 -07:00
Jesse Rosenberger
adaad08615
Temporarily remove version 2. 2018-05-11 15:53:06 -07:00
Evans Hauser
75239b06a9
docs: initial graphql-tools api reference and point engine api reference at node sidecar 2018-05-08 18:49:50 -07:00
unicodeveloper
9ab06f46c4 Fix links 2018-05-03 09:45:05 -07:00
unicodeveloper
173ac54cd0 Add links for graphql-subscriptions and apollo-engine 2018-05-03 09:38:09 -07:00
unicodeveloper
c141239b79 Add migration 2 guide 2018-05-03 09:36:23 -07:00
Jesse Rosenberger
9ab4f9d0f8
Merge pull request #942 from apollographql/docs-overhaul
[Work in Progress] 2.0 Documentation
2018-05-02 17:41:48 -07:00
Jesse Rosenberger
5c6dc4f93f
hide sidebar links, for now 2018-05-02 17:12:55 -07:00
PROSPER OTEMUYIWA
08879ff0a6 Add migration for 2.0 beta 2018-05-02 15:59:51 -07:00
Evans Hauser
32caf0aa10
docs: add error handling section 2018-05-02 11:19:14 -07:00
Jesse Rosenberger
b9d49ae723
Enable version support via Netlify redirects.
This uses `hexo-versioned-netlify-redirects`[0], a package I wrote just for
this purpose (on Meteor) a few months back.

With any luck, this will do the trick for Apollo too.

[0]: https://github.com/meteor/hexo-versioned-netlify-redirects
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
b2691adaa4
docs: Add v2 to the versions property in _config.yml.
This should enable the dropdown box in the sidebar of the documentation.
Currently, that sidebar will be a terrible color, since it has never
appeared on Apollo documentation before and nobody has ever defined style on
it.  That'll have to be fixed in the theme itself[0].

[0]: https://github.com/meteor/meteor-theme-hexo
2018-05-01 21:37:16 -07:00
Sashko Stubailo
727d782f66 Organize into features section 2018-05-01 14:48:54 -07:00
Evans Hauser
72a59260d5 Schema Organization and Manage a Large Schema (#996)
* docs: simplify schema organization and add modularize schema advanced section

* docs: working around code snippets demonstating how to organize a large schema

* update headers to be h tags and capitalization

* docs: intro to each file in modularize schema and circular reference full type defs

* docs: schema modularization formatting

* docs: shorten wording around intros to code snippets

* Move modularization to organizaition

* docs: removed circular dependencies section from schema organization
2018-05-01 14:09:52 -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
Jesse Rosenberger
761ff92bb8
docs: Iteration from Docs workshop.
* Bury Best Practices, for the time being.
* Bury Schema, but leave it on disk.
* Introduce new Querying section.
* Move "Why Apollo Server?" into "Index".
   * ...to be refined.
* Remove no-longer-helpful "Getting Started" from "Index".

cc @stubailo @evans @peggyrayzis @JakeDawkins @unicodeveloper @jbaxleyiii
2018-04-30 15:36:08 -07:00
Jesse Rosenberger
c09b352c95
docs: Add v2 to the versions property in _config.yml.
This should enable the dropdown box in the sidebar of the documentation.
Currently, that sidebar will be a terrible color, since it has never
appeared on Apollo documentation before and nobody has ever defined style on
it.  That'll have to be fixed in the theme itself[0].

[0]: https://github.com/meteor/meteor-theme-hexo
2018-04-26 14:35:53 +03:00
Jesse Rosenberger
4ff36d8575
docs: Sidebar: "Schema Development" > "Schema". (To fit on a single line.) 2018-04-24 18:00:19 +03:00
Jesse Rosenberger
36a07bb3bb
docs: API reference: Link to graphql-tools. 2018-04-24 14:17:04 +03:00
James Baxley
bdc2a82db8 docs: Best practices (#978)
* clean up some code examples

* add in some best practies
2018-04-23 22:01:54 +03:00
Jesse Rosenberger
e4977737e9
Rename slugs for "Essentials" pages to match other naming conventions.
Plus, slugs.

cc @JakeDawkins
2018-04-23 19:04:03 +03:00
Jesse Rosenberger
ac6411b238
Further-remove "Query Mechanics", this time from the sidebar.
It was already deleted elsewhere.
2018-04-23 12:47:18 +03:00
Evans Hauser
99a39907f4
add advanced section for scalars and enums 2018-04-22 23:40:56 -07:00
Jesse Rosenberger
3acdacbfa9
Context 👋 2018-04-20 20:36:32 +03:00
Jesse Rosenberger
081e69faf8
"Why Apollo?" 👉 "Why Apollo Server?" 2018-04-20 19:25:24 +03:00
Jesse Rosenberger
570fa609ba
Remove permissions residue. 2018-04-20 17:52:17 +03:00
Jesse Rosenberger
770c12cc30
Remove secrets. 2018-04-20 17:52:01 +03:00
Jesse Rosenberger
310368e705
Fix deployment sections. 2018-04-20 17:49:52 +03:00
Jesse Rosenberger
c475f95fd2
Infrastructure 👋 2018-04-20 17:46:39 +03:00
Jesse Rosenberger
ac8d19a594
Backends 👋 2018-04-20 17:44:40 +03:00
Jesse Rosenberger
d68695ed91
Remove Engine. 2018-04-20 17:32:08 +03:00
Jesse Rosenberger
cc6c8921cc
Remove subscriptions. 2018-04-20 17:30:48 +03:00
Jesse Rosenberger
3c79bf17e8
Remove schema stitching. 2018-04-20 17:30:23 +03:00
Jesse Rosenberger
d0b24a2381
Follow-up on previous commit. 2018-04-20 17:29:11 +03:00
Evans Hauser
43a7a99f2e
add deploy section for heroku 2018-04-19 21:41:27 -07:00