Skip to content

The @Relation annotation should be respected if evaluating the 'class' property of a Siren entity #330

@marcuslange

Description

@marcuslange

Describe the bug
@relation annotation is not reflected in response.

To Reproduce
Add @relation to a RepresentationModel and request object.

Expected behavior
@relation(itemRelation = "Person") should produce "class": ["Person"]

Environment:

  • Spring HATEOAS Siren version 1.2.0
  • Spring Boot version 2.5.2
  • Spring Framework version 5.3.8

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions