Skip to content

Commit

Permalink
add assumeImmutableResults typing to apollo boost PresetConfig interf…
Browse files Browse the repository at this point in the history
…ace (#5571)

* add assumeImmutableResults typing to apollo boost PresetConfig interface

* Changelog update
  • Loading branch information
bencoullie authored and hwillson committed Dec 13, 2019
1 parent 00e0eec commit d8c47d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
- Replace `GlobalFetch` reference with `WindowOrWorkerGlobalScope`. <br/>
[@abdonrd](https://github.com/abdonrd) in [#5373](https://github.com/apollographql/apollo-client/pull/5373)

- Add `assumeImmutableResults` typing to apollo boost `PresetConfig` interface. <br/>
[@bencoullie](https://github.com/bencoullie) in [#5571](https://github.com/apollographql/apollo-client/pull/5571)


## Apollo Client (2.6.4)

Expand Down
1 change: 1 addition & 0 deletions packages/apollo-boost/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export interface PresetConfig {
resolvers?: Resolvers | Resolvers[];
typeDefs?: string | string[] | DocumentNode | DocumentNode[];
fragmentMatcher?: LocalStateFragmentMatcher;
assumeImmutableResults?: boolean;
}

// Yes, these are the exact same as the `PresetConfig` interface. We're
Expand Down

0 comments on commit d8c47d9

Please sign in to comment.