Jake Dawkins
75b19b82f2
Clarified wording of mocking docs ( #1901 )
...
* clarified wording of mocking docs
* Update mocking.md
2018-11-01 18:27:50 -04:00
William Li
c0446dc4aa
Incorrect description in docs for Mocks ( #1692 )
...
* Incorrect sample codes
```const { ApolloServer } = require('apollo-server');```
should be
```const { ApolloServer, gql } = require('apollo-server');```
The functions in `mocks` would be used when no resolver in `resolvers` is specified only when `mockEntireSchema: false`.
* Update mocking.md
Change the documentation to be correct, indicating that the mocks overwrite the resolvers
2018-09-20 12:03:56 -07: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
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
Dan Dascalescu
e37f4beafa
Mocking: fix typo
2018-07-18 06:24:02 -07:00
Evans Hauser
5b4644fbfd
docs: add missing gql tags and add comments that gql is necessary for apollo-server
2018-06-06 11:21:05 -07:00
Evans Hauser
531162c693
docs: fix dead links
2018-05-22 17:39:19 -07:00
Evans Hauser
b6b5790ae8
docs: add graphql-tools references in mocking
2018-05-08 18:49:50 -07:00
Danilo Britto Nuñez
3e00182a16
Docs: Fix typo in mocking section( #1048 )
2018-05-08 13:52:37 -07:00
Evans Hauser
d16c08536c
docs: add clarity around mocks object combined with resolvers
2018-05-01 17:08:38 -07:00
Sashko Stubailo
727d782f66
Organize into features section
2018-05-01 14:48:54 -07:00