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

Add Criteria infix functions for maxDistance and minDistance #3761

Conversation

sangyongchoi
Copy link
Contributor

add Criteria infix func

  • maxDistance
  • minDistance

Because to use minDistance and maxDistance, near and nearSphere must exist.
But currently using infix fun to use minDistance, maxDistance throws an error.
Because we're adding it to the new Criteria.

A repository where you can check for errors

I think good if criteria with Near Sphere and NearSphere added min Distance and Max Distance could be easily added. so I will send you a PR.

@pivotal-cla
Copy link

@sangyongchoi Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@sangyongchoi Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 3, 2021
@christophstrobl
Copy link
Member

Thanks @sangyongchoi for taking the time to report this and craft a fix.

@mp911de mp911de self-assigned this Aug 25, 2021
@mp911de mp911de changed the title add Criteria infix func Add Criteria infix functions for maxDistance and minDistance Aug 25, 2021
@mp911de mp911de added this to the 3.2.5 (2021.0.5) milestone Aug 25, 2021
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 25, 2021
mp911de pushed a commit that referenced this pull request Aug 25, 2021
mp911de added a commit that referenced this pull request Aug 25, 2021
Update since version. Reformat code.

See: #3761.
@mp911de mp911de closed this in 302c803 Aug 25, 2021
mp911de added a commit that referenced this pull request Aug 25, 2021
Update since version. Reformat code.

See: #3761.
@mp911de
Copy link
Member

mp911de commented Aug 25, 2021

Thank you for your contribution. That's merged, polished, and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants