Skip to content

ResourceSupport.getId() too restrictive #66

@deepakpol

Description

@deepakpol

Having ResourceSupport.getId() method return Link is too restrictive IMO. It makes my representation unable to have id field and corresponding getId() method with different type. It seems a very common use case to assume in UI that the id field of resource would return actual id of the resource and not a link.
Probably ResourceSupport could also be made generic where the id return type is passed by the class extending ResourceSupport.

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