dystopiandev
12/12/2025, 7:22 PM<type> with expiration delegates value of now to the underlying data store.
About this:
> It requires clients to provide the now timestamp. This is additional complexity for clients.
Conversely, client-side provision of that value is crucial to our systems.
We use TimeProvider abstraction in .NET that serves as the central source of truth for time, meaning we always override data stores' internal clocks by explicitly setting time columns/fields.
Our TimeProvider is backed by different sources across projects, but what's important is that the app decides what now is, not any of the data stores or other infra.
So we've skimmed and weren't able to find any notes on this: if specifying now for <type> with expiration is planned, unplanned or outright technically impossible to implement even in the future.
If anyone could advise please. Thanks.yetitwo
12/12/2025, 7:30 PMnow as an alternative.
that said, that sort of expiration is something that you can implement yourself using caveats. you'll miss out on the automatic garbage collection, but otherwise one of the design considerations in the implementation of the inbuilt expiration feature was trying to avoid the client needing to supply a now.Joey
12/12/2025, 8:41 PMJoey
12/12/2025, 8:41 PMdystopiandev
12/12/2025, 8:42 PMJoey
12/12/2025, 8:43 PMJoey
12/12/2025, 8:43 PMdystopiandev
12/12/2025, 8:54 PMJoey
12/12/2025, 9:00 PMJoey
12/12/2025, 9:00 PMJoey
12/12/2025, 9:00 PMJoey
12/12/2025, 9:01 PMJoey
12/12/2025, 9:01 PMdystopiandev
12/12/2025, 10:06 PMJoey
12/12/2025, 10:07 PMJoey
12/12/2025, 10:07 PMJoey
12/12/2025, 10:07 PMdystopiandev
12/12/2025, 10:15 PMJoey
12/12/2025, 10:16 PMJoey
12/12/2025, 10:16 PMJoey
12/12/2025, 10:16 PMJoey
12/12/2025, 10:16 PMJoey
12/12/2025, 10:17 PMJoey
12/12/2025, 10:17 PMJoey
12/12/2025, 10:17 PMdystopiandev
12/12/2025, 10:34 PMJoey
12/12/2025, 10:37 PMJoey
12/12/2025, 10:37 PMJoey
12/12/2025, 10:37 PMJoey
12/12/2025, 10:37 PMdystopiandev
12/12/2025, 10:37 PMdystopiandev
12/13/2025, 12:52 PM