Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
hwillson committed Jun 20, 2018
2 parents bebcd13 + 9e136bd commit 5e1c91b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions packages/apollo-utilities/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

### vNext

- Removed unnecessary whitespace from error message
[Issue #3398](https://github.com/apollographql/apollo-client/issues/3398)
[PR #3593](https://github.com/apollographql/apollo-client/pull/3593)

### 1.0.15

- No changes
Expand Down
9 changes: 5 additions & 4 deletions packages/apollo-utilities/src/storeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ export function valueToObjectRepresentation(
} else if (isNullValue(value)) {
argObj[name.value] = null;
} else {
throw new Error(`The inline argument "${name.value}" of kind "${
(value as any).kind
}" is not supported.
Use variables instead of inline arguments to overcome this limitation.`);
throw new Error(
`The inline argument "${name.value}" of kind "${(value as any).kind}"` +
'is not supported. Use variables instead of inline arguments to ' +
'overcome this limitation.'
);
}
}

Expand Down

0 comments on commit 5e1c91b

Please sign in to comment.