Skip to content

Changes in kotlinx.datetime:0.7.0 break store #703

Open
@solcott

Description

@solcott

kotlinx.datetime:0.7.0 introduced breaking changes that break Store.

kotlinx.datetime.Clock and kotlinx.datetime.Instant were removed in favor of kotlin.time.Clock and kotlin.time.Instant which were introduced in Kotlin 2.1.

I tried to work around this by creating type aliases for each until Store is updated but it's not possible due to the inner class Clock.System. Type aliases for inner classes/objects aren't supported in Kotlin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions