Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Conversation

@flyingsilverfin
Copy link
Member

What is the goal of this PR?

Add duplicate RP capabilities following the style of client-python's change at typedb/typedb-driver-python#85

What are the changes implemented in this PR?

  • Return a list instead of a set for role players
  • update tests
  • add a new test

@flyingsilverfin
Copy link
Member Author

@adammitchelldev this is also blocked due to the order grakn core changes were merged, should be easy to roll into your upcoming client change :)

@flyingsilverfin
Copy link
Member Author

You may also have to add james' inclusion of Rule into Explanation

@adammitchelldev
Copy link
Contributor

Closing as these changes were merged in https://github.com/graknlabs/client-nodejs/pull/91

dmitrii-ubskii pushed a commit to dmitrii-ubskii/typedb-client-nodejs that referenced this pull request Sep 1, 2023
## What is the goal of this PR?

Introduce BDD testing for the explanations returned to the client.

## What are the changes implemented in this PR?

- The major step introduced is `answers contain explanation tree`, which checks the full tree of nested explanations are as expected
- This method is longer and more complicated than we would like, as a result of the nested structure that is being tested
- Note that the major limitation of this testing is that it can only assert one of the possible reasoner resolution paths, and so the test examples need to be carefully picked so that there is only one path, or that the possible paths look identical.

See [https://github.com/graknlabs/verification/pull/33](https://github.com/graknlabs/verification/pull/33)

Fixes typedb#95
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants