Skip to content
New issue

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

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

Already on GitHub? # to your account

support query with ExampleMatcher on AggregateReference properties #1755

Open
ashraf-revo opened this issue Mar 15, 2024 · 1 comment
Open
Assignees
Labels
type: enhancement A general enhancement

Comments

@ashraf-revo
Copy link

support ExampleMatcher with AggregateReference
ExampleMatcher always ignore any property with AggregateReference because it check if its an isAssociation

image

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 15, 2024
@ashraf-revo
Copy link
Author

ashraf-revo commented Mar 15, 2024

i was able to fix with this change
if (!property.isTransient() && (!property.isAssociation() || property.getActualType().equals(AggregateReference.class)))

@schauder schauder self-assigned this Mar 18, 2024
@schauder schauder added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants