Skip to content

Add relative-distance #2424

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BNAndras
Copy link
Member

I still need to figure updating the generator template, but I think this gets us most of the way otherwise. I'll poke at this more in a few days.

Copy link
Member

@ErikSchierboom ErikSchierboom left a comment

Choose a reason for hiding this comment

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

I still need to figure updating the generator template, but I think this gets us most of the way otherwise.

Should be do-able just by looking at some of the existing generators.

Comment on lines +2738 to +2739
"practices": [],
"prerequisites": [],
Copy link
Member

Choose a reason for hiding this comment

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

Could you add some prerequisites?

[Fact]
public void Direct_parent_child_relation()
{
var familyTree = new Dictionary<string, List<string>>
Copy link
Member

Choose a reason for hiding this comment

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

Maybe use an array to indicate that the data is static?

Suggested change
var familyTree = new Dictionary<string, List<string>>
var familyTree = new Dictionary<string, string[]>

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

Successfully merging this pull request may close these issues.

2 participants