Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

Commit

Permalink
setup default forward
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley authored and peggyrayzis committed Mar 13, 2018
1 parent 20a6b59 commit 60fb58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"apollo-cache-inmemory": "^1.1.7",
"apollo-client": "^2.2.2",
"apollo-link-state": "^0.4.0",
"apollo-link-state": "0.4.0-beta.0",
"graphql": "^0.11.7",
"graphql-tag": "^2.5.0",
"lodash.merge": "4.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-link-state/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const withClientState = (

public request(
operation: Operation,
forward: NextLink,
forward: NextLink = () => Observable.of({ data: {} }),
): Observable<FetchResult> {
if (typeDefs) {
const directives = 'directive @client on FIELD';
Expand Down

0 comments on commit 60fb58a

Please sign in to comment.