-
-
Notifications
You must be signed in to change notification settings - Fork 207
feat: Add query constraint wherePolygonContains
to determine whether a point in within a polygon
#778
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
feat: Add query constraint wherePolygonContains
to determine whether a point in within a polygon
#778
Conversation
Thanks for opening this pull request!
|
d5b05c7
to
5e1641c
Compare
Could you add a test? |
5e1641c
to
d00b8d0
Compare
@parse-community/flutter-sdk-review could someone please review this? |
Codecov ReportBase: 15.13% // Head: 15.83% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #778 +/- ##
==========================================
+ Coverage 15.13% 15.83% +0.70%
==========================================
Files 47 47
Lines 2855 2860 +5
==========================================
+ Hits 432 453 +21
+ Misses 2423 2407 -16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you take a look at the failing lint test?
@mtrezza , sorry for the late answer, I fix the lint error |
Thanks @Paul0Cesar, all tests pass. Let's wait for a review by @parse-community/flutter-sdk-review to merge this. |
wherePolygonContains
to determine whether a point in within a polygon
wherePolygonContains
to determine whether a point in within a polygonwherePolygonContains
to determine whether a point in within a polygon
@mbfakourii Thanks for reviewing this. @Paul0Cesar To merge this, could you add the change log entry and bump the version by a minor version number? It seems this is only related to the dart package, so the change log and version number only needs to be changed there. |
@mtrezza , sorry for the late answer, I merge the master branch, fix the constant SINGLE QUERY not using _SINGLE_QUERY, and change the version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test must be changed
@mbfakourii, I change the code formatting, can you check again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint fails, could you take a look?
@mtrezza , done, can you check? 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
New Pull Request Checklist
Issue Description
Create a new constraint to check if Polygon contains the geopoint
Closes: #777
Approach
create a new method to add polygon constraint in query
TODOs before merging