Commit graph

427 commits

Author SHA1 Message Date
Jesse Rosenberger
85b97b6f0c docs: Correct path for GraphQL Playground. (#1427)
* docs: Correct path for GraphQL Playground.

This corrects the documentation which incorrectly stated that the message on the console would include `http://localhost:4000/graphql`.

While the `/graphql` URL will also serve the GraphQL Playground, it's only working as a by-product of of `/graphql` being included within the (higher) `/` path. (That is to say that `/any-url` would also respond!).

* [squash] Tweak per feedback.

cc @evans
2018-07-30 15:49:25 -07:00
Prosper Otemuyiwa
e514cdfd4c
Cleanup subscriptions link (#1437)
* Remove graphql-subscriptions link from the sidebar

* Add graphql-subscriptions docs link under Subscriptions Feature
2018-07-27 16:47:34 +02:00
Mohamed Nimir
a700a3350b Fixed Wrong Header at unions-interfaces (#1425)
Fixed header at L#78 from `Intersection` to `Interface`
2018-07-26 14:15:58 -07:00
Martin Eboh
4f28b14745 Fix typo in scalars-enums.md (#1432)
Fixed a typo!
2018-07-26 14:14:40 -07:00
Martin Eboh
ff22b0210a Fix typo in subscriptions.md (#1431)
Fixed a typo!
2018-07-26 14:14:03 -07:00
Sam Horton
16cd16d91a clarify typedefs API (#1389)
Add more accurate type information and example of using `typeDefs` in the `ApolloServer` constructor.
2018-07-25 22:40:32 +02:00
Jesse Rosenberger
e9ed926052
docs: Remove leftover Git merge conflict delineation.
Fixes my bad from daf6ffefa1.
2018-07-19 15:17:07 -07:00
Jesse Rosenberger
daf6ffefa1
docs: Fix link to "GraphQL Playground" in "What's new?" guide. 2018-07-19 15:01:11 -07:00
Jesse Rosenberger
67e047887f
docs: fix link to "Fetching data with resolvers.". 2018-07-19 15:00:24 -07:00
Jesse Rosenberger
3ce81e2c00
docs: Fix link to makeExecutableSchema. 2018-07-19 15:00:24 -07:00
Jesse Rosenberger
820908ce77
docs: Remove intro paragraph about the "What's new?" page.
I don't think we need to explain what the "What's new" page is about in so many words.
2018-07-19 14:50:54 -07:00
Jesse Rosenberger
a4b6114bbb
docs: Move the instructions for migrating into the 2.0 section.
Most eyes will go to this section, so it seems best to include these important instructions there.
2018-07-19 14:45:35 -07:00
Jesse Rosenberger
836654d6ca
docs: Correct the structure of the whats-new.md.
This corrects the headings to be properly tiered/nested within each other, rather than having "2.0" at the same level as its features.

It also makes some slight wording changes, but more are to follow.
2018-07-19 14:24:44 -07:00
Jesse Rosenberger
4dda3b7140
docs: Remove reference to rc (release candidate) dist-tag.
Apollo Server 2.0 is now officially released and published to the `latest` tag!
2018-07-19 14:04:45 -07:00
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
Jesse Rosenberger
c31b02972a
Revert "docs: Switch the order of versions back."
This reverts commit 5ae12be1fb.
2018-07-17 17:21:03 -07:00
Jesse Rosenberger
5ae12be1fb
docs: Switch the order of versions back. 2018-07-17 17:16:47 -07:00
Evans Hauser
967f4c8f3c
docs: switch config versions and remove version for master (#1370) 2018-07-17 16:35:43 -07:00
Jesse Rosenberger
281760b397
docs: Update blog URLs to reference blog.apollographql.com.
This updates all blog URLs in the documentation to use blog.apollographql.com
as the domain, rather than dev-blog.apollodata.com.
2018-07-13 16:39:42 -07:00
Evans Hauser
7d7fef69a1
Merge pull request #1348 from apollographql/merge-master
Merge master
2018-07-13 14:40:13 -07:00
Jesse Rosenberger
17ed370ddd
Update meteor-theme-hexo to the latest version. 2018-07-13 13:47:54 -07:00
Evans Hauser
31e93d0d55
remove setup 2018-07-13 13:33:58 -07:00
Evans Hauser
c3cee59985
Merge branch 'master' into version-2 2018-07-13 13:20:00 -07:00
Evans Hauser
170f072f96
bring version-2 up to date 2018-07-13 13:14:19 -07:00
Jesse Rosenberger
7f11c605a1
Fix broken link to CDN guide, which is now on /docs/.
It only lived here for one day, but this particular link wasn't updated!
2018-07-13 12:06:23 -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
Jake Dawkins
b5039f3aaf Added option to disable rewriting URL for GraphiQL (#1047)
* added option to disable rewriting url for graphiql

* updated docs

* added link to PR in changelog
2018-07-13 10:25:23 -07:00
Jason Lengstorf
bf06caf1be docs: add note about passing context as a function (#757)
* docs: add note about passing context as a function

We realized today (by mistake) that the value of `context` in `GraphQLOptions` can be a function. Adding a note to the docs so it doesn't surprise anyone else.

* docs: update context as a function docs

- fix description per @n1ru4l's feedback
- add a code example of instantiating a new class in the context for each request
2018-07-13 10:17:02 -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
Jesse Rosenberger
c5082ce64f
docs: Add browser auto-reloading on source content changes. (#1336)
By virtue of a relatively simple `hexo-browsersync` package[0], which
implements BrowserSync[1] in Hexo, this change brings support for automatically
reloading the browser when the source content has changed.

No more pressing "Reload" in order to see the changes to the Markdown source
when working on documentation! 🎉

[0]: https://npm.im/hexo-browsersync
[1]: https://www.browsersync.io
2018-07-11 16:36:47 -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
de4760ba3b
Expose Cors option from vanilla ApolloServer constructor (#1335)
* add cors option to apollo-server's constructor

* docs: add cors option to costructor for apollo-server

* expose CorsOptions from vanilla and express integrations

* Update apollo-server.md
2018-07-11 13:46:51 -07:00
renovate[bot]
890e10b799
chore(deps): update dependency apollo-hexo-config to v1.0.8 (#1329)
This Pull Request updates dependency [apollo-hexo-config](https://github.com/apollographql/apollo-hexo-config) from `v1.0.7` to `v1.0.8`



<details>
<summary>Release Notes</summary>

### [`v1.0.8`](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)
[Compare Source](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)


---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-07-10 16:20:27 -07:00
renovate[bot]
f2ff23fba6 chore(deps): update dependency apollo-hexo-config to v1.0.8 (#1329)
This Pull Request updates dependency [apollo-hexo-config](https://github.com/apollographql/apollo-hexo-config) from `v1.0.7` to `v1.0.8`



<details>
<summary>Release Notes</summary>

### [`v1.0.8`](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)
[Compare Source](https://github.com/apollographql/apollo-hexo-config/compare/v1.0.7...v1.0.8)


---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-07-10 16:18:55 -07:00
Prosper Otemuyiwa
9034ac95af
Add redirect for file-uploads (#1328) 2018-07-10 14:02:01 -07:00
Evans Hauser
f9373bf341
add graphql types referenced in creating-directives 2018-07-10 10:26:21 -07:00
Evans Hauser
2d7af8b4b3
Add CDN and APQ to What's new (#1320)
* add apq and cdn to what's new section

* fix typos in documentation
2018-07-10 10:07:50 -07:00
Danilo Bürger
314f0ecf43 Hint about Upload scalar when setting schema manually (#1318) 2018-07-09 14:40:22 -07:00
Jesse Rosenberger
075c0527df
Also rename playground to graphql-playground in _config.yml. 2018-07-09 10:08:05 -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
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