Skip to content

Generate id() method for EntityState types #25

@alexander-yevsyukov

Description

@alexander-yevsyukov

The EntityState interface defined in base has a generic parameter <I> but this parameter is not used in the interface (which is empty). We have a lengthy description of the convention for the first message field and so on, but it does not make it less confusing, “Why the generic parameter is not used in the interface?”

Obviously, having the id() method returning I would make it more obviously. But we need to tune ProtoData to handle this, and extend the interface accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions