Skip to content

Commit

Permalink
Cosmos: Fix compressUnfolds defaulting (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink authored Nov 5, 2020
1 parent e677d0a commit 9b27c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The `Unreleased` section name is replaced by the expected version of next releas
### Removed
### Fixed

- `Cosmos`: Fix defaulting for `compressUnfolds` in C# [#261](https://github.com/jet/equinox/pull/261)

<a name="2.3.0"></a>
## [2.3.0] - 2020-11-04

Expand Down
2 changes: 1 addition & 1 deletion src/Equinox.Cosmos/Cosmos.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ type Resolver<'event, 'state, 'context>
( context : Context, codec, fold, initial, caching, access,
/// Compress Unfolds in Tip. Default: <c>true<c>.
/// NOTE when set to <c>false</c>, requires Equinox.Cosmos Version >= 2.3.0 to be able to read
?compressUnfolds) =
[<O; D null>]?compressUnfolds) =
let compressUnfolds = defaultArg compressUnfolds true
let readCacheOption =
match caching with
Expand Down

0 comments on commit 9b27c23

Please sign in to comment.