Skip to content

Change the type of the reason from Record to Object #5

@sttk

Description

@sttk

It might be preferable to allow reasons to be defined not only as records but also as enums or even as strings.
Therefore, instead of restricting the reason's type to Record, it should be changed to Object to accept any values.
Since identification using a switch expression is still possible, this should not cause any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions