Skip to content

Use inline/value class instead of primitive type on the data class properties declaration #22

@radityagumay

Description

@radityagumay

As we use primitive type on the data class properties declaration it would give a high chance for error-prone of doing substitution in between properties. Indeed naturally we're able to avoid this issue by declaring the name of the properties themselves when assigning the value. However, it still has a chance the users do not follow the convention for doing that. The consideration for using the inline/value class can be helpful here.

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