Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6
-
None
-
None
-
1
Description
The Duration returned by GetResult.expiry() is bogus – it represents the time span between the start of the epoch and the instant when the document expires.
The return type of this method should really be `Instant`, but that would be a breaking change.
Instead, we can discourage using the `expiry()` method and add an `expiryTime()` method that returns an Instant.
We plan to deprecate `expiry()` method in the next minor release, when we can remove the "uncommitted" tag from `expiryTime()`.
Attachments
Issue Links
- mentioned in
-
Page Loading...