Skip to content

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Nov 23, 2020

There can be many references to a Location that originates from a single source (see the test case).
So I added a simple type-tracker such that we only add a Location-typed source A, if we can't find another Location-typed source B that type-tracks in 1 or more steps to A.

Evaluation on nightly looks fine.

… can track it from an original node with type "Location"
@erik-krogh erik-krogh added the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Nov 23, 2020
@github-actions github-actions bot added the JS label Nov 23, 2020
@erik-krogh erik-krogh marked this pull request as ready for review November 24, 2020 09:35
@erik-krogh erik-krogh requested a review from a team as a code owner November 24, 2020 09:35
Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 💪

Using type-tracking here was much simpler than what I was thinking about (which involved pruning redundant sources in the general data-flow library).

Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I assume the Awaiting evaluation label is outdated?

@erik-krogh erik-krogh removed the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Nov 24, 2020
@codeql-ci codeql-ci merged commit 8c68463 into github:main Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants