Skip to content

[Spike] How to do relation traversal #1952

@dhmlau

Description

@dhmlau

Timebox to 5 days.

Description / Steps to reproduce / Feature proposal

Originated from #1352

Cross posting the description from @bajtos (#1352 (comment)):

I think we need a spike to determine how to actually implement relation traversal, because right now, a repository for source model does not necessarily know how to obtain an instance of a repository for accessing the target model.

Acceptance Criteria

Investigate how to implement relation traversal. Implementation of the following DefaultCrudRepository methods to correctly support inclusion of related models as configured via filter.include property.

  • find
  • findOne
  • findById

Metadata

Metadata

Assignees

Labels

RelationsModel relations (has many, etc.)spike

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions