spring-projects / spring-projects/spring-data-commons

Add PropertyPathMapper to PropertyPath creation [DATACMNS-1176]

Open
#1,618 24 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 30, 2020.

status: feedback-provided type: enhancement
Dominant language
Java
Stars
838
Forks
730
PR merge metrics
No merged PRs in 30d

Description

Ales Justin opened DATACMNS-1176 and commented

PropertyPath from Part(Tree) doesn't always directly map class's structure.
e.g. in Hibernate Search (HS) Spring Data implementation we map class's HS fields

@Field(name = "foo")
String bar;

public List<Simple> findByFoo(String foo);

In current impl, this use case fails.
Adding a mapper, we could be less restrictive on the actual "Part" usage.
e.g. not just strictly class's properties / hierarchy


No further details from DATACMNS-1176

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.