Skip to content

Commit

Permalink
Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nevir committed Jul 14, 2016
1 parent 2bf9c69 commit 53bd72a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Expect active development and potentially significant breaking changes in the `0

- Added a "noFetch" option to WatchQueryOptions that only returns available data from the local store (even it is incomplete). [Issue #225](https://github.com/apollostack/apollo-client/issues/225) and [PR #385](https://github.com/apollostack/apollo-client/pull/385).

- Added `resultTransformer`, which can be used to mutate results just before they are returned via the client's query interface. [PR #378](https://github.com/apollostack/apollo-client/pull/378)

### v0.4.1

- Allow `client.mutate` to accept an `optimisticResponse` argument to update the cache immediately, then after the server responds replace the `optimisticResponse` with the real response. [Issue #287](https://github.com/apollostack/apollo-client/issues/287) [PR #336](https://github.com/apollostack/apollo-client/pull/336)
Expand Down
4 changes: 2 additions & 2 deletions test/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ describe('client', () => {
});
});

describe.only('result transformation', () => {
describe('result transformation', () => {

class Task {
constructor(properties) {
Expand All @@ -1435,7 +1435,7 @@ describe('client', () => {
}
}

let getTerseTask, getFullTask, task, client, requests;
let task, client;
beforeEach(() => {
task = {
__typename: 'Task',
Expand Down
5 changes: 0 additions & 5 deletions typings/main/globals/apollo-client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ declare module 'lodash.merge' {
export = main.merge;
}

declare module 'lodash.pick' {
import main = require('~lodash/index');
export = main.pick;
}

declare module 'lodash.includes' {
import main = require('~lodash/index');
export = main.includes;
Expand Down

0 comments on commit 53bd72a

Please sign in to comment.