Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

Open
ArnaudLec opened this issue Feb 5, 2025 · 2 comments · May be fixed by #3794
Open

Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

ArnaudLec opened this issue Feb 5, 2025 · 2 comments · May be fixed by #3794
Assignees
Labels
status: waiting-for-feedback We need additional information before we can continue type: bug A general bug

Comments

@ArnaudLec
Copy link

Hi,

I stumbled upon a bug when using Example to find objects when matching with both a primitive attribute and an association at the same time when using MatchMode.ANY.

The join should be a left join when using MatchMode.ANY and only an inner join when using MatchMode.ALL.

Here is a reproducer :
https://github.com/ArnaudLec/query-by-example-join-match-any-bug

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 5, 2025
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 10, 2025
@christophstrobl
Copy link
Member

Thank you for reporting the issue und providing the sample. we'll look into it.

@christophstrobl
Copy link
Member

@ArnaudLec do you want to contribute a fix, since you already crafted one in the example project, and open a PR?

@christophstrobl christophstrobl added the status: waiting-for-feedback We need additional information before we can continue label Feb 26, 2025
@ArnaudLec ArnaudLec linked a pull request Feb 28, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback We need additional information before we can continue type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants