Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Update to graphql@14 #2437

Merged
merged 2 commits into from
Sep 28, 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
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- Small `getDataFromTree.ts` logic adjustment to avoid unnecessary calls
when a falsy `element` is encountered. <br/>
[@HOUCe](https://github.com/HOUCe) in [#2429](https://github.com/apollographql/react-apollo/pull/2429)
- `graphql` 14 updates. <br/>
[@hwillson](https://github.com/hwillson) in [#2437](https://github.com/apollographql/react-apollo/pull/2437)

## 2.2.2 (September 28, 2018)

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,13 @@
},
"peerDependencies": {
"apollo-client": "^2.3.8",
"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0"
"react": "0.14.x || 15.* || ^15.0.0 || ^16.0.0",
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
},
"devDependencies": {
"@types/enzyme": "3.1.14",
"@types/enzyme-adapter-react-16": "1.0.3",
"@types/graphql": "0.12.7",
"@types/graphql": "14.0.1",
"@types/invariant": "2.2.29",
"@types/jest": "23.3.2",
"@types/lodash.flowright": "^3.5.4",
Expand All @@ -119,7 +120,7 @@
"danger": "4.0.2",
"enzyme": "3.6.0",
"enzyme-adapter-react-16": "1.5.0",
"graphql": "0.13.2",
"graphql": "14.0.2",
"graphql-tag": "2.9.2",
"husky": "0.14.3",
"jest": "23.6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export enum DocumentType {
export interface IDocumentDefinition {
type: DocumentType;
name: string;
variables: VariableDefinitionNode[];
variables: ReadonlyArray<VariableDefinitionNode>;
}

const cache = new Map();
Expand Down