Skip to content
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

Add support for predicates when asserting a lookup-matches #471

Open
Seddryck opened this issue Apr 13, 2019 · 0 comments
Open

Add support for predicates when asserting a lookup-matches #471

Seddryck opened this issue Apr 13, 2019 · 0 comments
Milestone

Comments

@Seddryck
Copy link
Owner

Seddryck commented Apr 13, 2019

Currently, NBi is supporting strict equality when validating a lookup-matches. With #470, it should also be possible to use some tolerance but it will still be an equality that will be tested. It should be possible to use any predicate to assert that the value contained in the dataset is related to the value of the other dataset.

<inclusion>
  <include candidate="previousAge"/>
  <predicate operand="[age]" type="numeric">
      <more-than>[previousAge]</more-than>
   </predicate>
</inclusion>

This feature is relying on the implementation of #472

@Seddryck Seddryck added this to the v1.21 milestone Apr 13, 2019
@Seddryck Seddryck modified the milestones: v1.21, v1.22 May 30, 2019
@Seddryck Seddryck modified the milestones: v1.22, v2.1 Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant