-
Notifications
You must be signed in to change notification settings - Fork 1
Add Find:Deps Msg #2
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
base: main
Are you sure you want to change the base?
Conversation
dist/Traverse.d.ts
Outdated
| @@ -1,5 +1,12 @@ | |||
| type Entity = string; | |||
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.
since the string is an entity id, may rename this to EntityID
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.
Done: 4969a6e
dist/Traverse.d.ts
Outdated
| @@ -1,5 +1,12 @@ | |||
| type Entity = string; | |||
| type Relation = [Entity, Entity]; | |||
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.
it's not just any relation - this is a parent child relation
many rename to ParentChildRelation
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.
Done: 8ef5f9f
| expect(seneca.find_plugin('Traverse')).exist() | ||
| }) | ||
|
|
||
| test('find-deps', async () => { |
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.
add a test for my example in the spec doc using [A,B], etc
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.
Done, I also added test cases with multiple examples for entity IDs:
fff4736
No description provided.