Skip to content

BUG: JSON serialization fails on workspaceSettings.automaticLock.type value "OLDER_THAN" #116

@goran-w

Description

@goran-w

The corresponding enum value AutomaticClockType.OlderThan is missing the underscore in its name, which makes the naming-strategy fail when trying to match the received string "OLDER_THAN".

This can cause failure in (for example) an initial call to GetWorkspacesAsync() if the workspace has this specific setting.

Also, the C# types AutomaticClockDto and AutomaticClockType are misnamed - it's a Lock, not a Clock!

NOTE: I have an upcoming PR to fix this, against the latest released version (2.3.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions