Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 update local state docs to work with apollo-cli codegen #4187

Merged
merged 3 commits into from
Nov 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Apollo Client (vNext)

### Apollo Client (vNext)

- Documtation updates. <br/>
[@justinanastos](https://github.com/justinanastos) in [#4187](https://github.com/apollographql/apollo-client/pull/4187)

### Apollo Utilities (vNext)

- Schema/AST tranformation utilities have been updated to work properly with
Expand Down
4 changes: 3 additions & 1 deletion docs/source/essentials/local-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ You can optionally pass a client-side schema to the `typeDefs` config property.
Your schema should be written in [Schema Definition Language](/docs/graphql-tools/generate-schema.html#schema-language). Let's view our schema for our todo app:

```js
const typeDefs = `
import gql from 'graphql-tag';

const typeDefs = gql`
type Todo {
id: Int!
text: String!
Expand Down