-
Notifications
You must be signed in to change notification settings - Fork 353
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
gh-2421: Change MapStore GetElements to handle Elements #2508
Conversation
@@ -99,12 +99,13 @@ private GetElementsUtil() { | |||
} else { | |||
relevantElements = new HashSet<>(); | |||
|
|||
final EdgeId edgeId = (EdgeSeed) elementId; |
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.
This is the cast that was causing errors. Now we create a new EdgeSeed
below, whether from an EdgeSeed
or an Edge
.
Codecov Report
@@ Coverage Diff @@
## develop #2508 +/- ##
==========================================
Coverage 66.92% 66.92%
Complexity 2444 2444
==========================================
Files 973 973
Lines 31909 31909
Branches 3883 3883
==========================================
Hits 21355 21355
Misses 8886 8886
Partials 1668 1668
Continue to review full report at Codecov.
|
This PR adds integration tests to ensure that all stores support |
This should let the input to the
MapStore
'sGetElements
be anElement
, as well as well as anElementSeed
.Marked as draft as some test for this might be a good idea.
Related Issue