Skip to content

Conversation

@lmscunha
Copy link
Contributor

@lmscunha lmscunha commented Dec 3, 2025

No description provided.

@lmscunha lmscunha marked this pull request as ready for review December 4, 2025 16:12
@@ -1,5 +1,12 @@
type Entity = string;
Copy link
Contributor

Choose a reason for hiding this comment

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

since the string is an entity id, may rename this to EntityID

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done: 4969a6e

@@ -1,5 +1,12 @@
type Entity = string;
type Relation = [Entity, Entity];
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not just any relation - this is a parent child relation
many rename to ParentChildRelation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done: 8ef5f9f

expect(seneca.find_plugin('Traverse')).exist()
})

test('find-deps', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

add a test for my example in the spec doc using [A,B], etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, I also added test cases with multiple examples for entity IDs:
fff4736

@lmscunha lmscunha requested a review from rjrodger December 9, 2025 14:31
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