Skip to content

Add profile property #678

Closed
Closed
@DavidBiesack

Description

@DavidBiesack

draft-kelly-json-hal-08 JSON HAL defines the optional string profile member which is not implemented in org.springframework.hateoas.Link. The profile field was requested in #656 but not implemented in 0.24.RELEASE. Please add it.

(As an aside, advice on how to extend the org.springframework.hateoas.Link class would be welcome. Lombok makes this pretty hard, since the @AllConstructor is package protected and not callable from the subclass. Without access to that super(...) constructor, I don't see a way to extend Link and add the field - there are no setters, only @Wither members which do not clone the subclass object but call a org.springframework.hateoas.Link1 constructor. Perhaps another enhancement would be to remove AccessLevel.PACKAGE )

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions