Commit graph

326 commits

Author SHA1 Message Date
xAKLx
27d65a1d6a Fix "To be successful" line 2018-09-01 09:25:30 +02:00
Evans Hauser
efc5302930
Add option to mock the entire schema(i.e. set preserveResolvers) (#1546)
* add mockEntireSchema as configuration for preserveResolvers

* add mockEntireSchema to api reference

* add changelog
2018-08-16 11:21:13 -07:00
Dimitri Nicolas
25f568b391 Typo in doc "Migrating to v2.0" (#1538) 2018-08-16 08:48:14 -07:00
Jonas Hackenberg
9225426360 Add disabled introspection info (#1480)
Add info about disabled introspection in production
2018-08-14 10:29:04 -07:00
Evans Hauser
598a7732ab
Migration docs for schema as object (#1368)
* add migration docs for schema as object

* address feedback
2018-08-14 10:26:52 -07:00
Clayton Ray
5b8acaa048 Update migration-two-dot.md (#1491) 2018-08-14 10:19:10 -07:00
Jesse Rosenberger
46e3beea6d
docs: Remove rc dist-tag designation from apollo-datasource-rest instruction. (#1497)
It is no longer necessary to use the `rc` tag when installing `apollo-datasource-rest`.
2018-08-07 15:39:22 +03:00
Jake Dawkins
3178d81c45 Updated Deployment Guides (#1430)
* updated lambda deployment guide

* updated heroku deployment guide

* updated now docs

* address PR reviews

* fix now docs
2018-08-07 08:40:08 +01:00
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
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
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
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
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
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
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
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