Skip to content

feat: 6312 Add source conditions to validation addon block#6283

Open
dariy-rised wants to merge 24 commits into
developfrom
feat/validation-addon-block
Open

feat: 6312 Add source conditions to validation addon block#6283
dariy-rised wants to merge 24 commits into
developfrom
feat/validation-addon-block

Conversation

@dariy-rised

@dariy-rised dariy-rised commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Description

  • Added sourceValidations to documentValidatorBlock for cross-document validation against stored policy documents
  • Added custom config component for documentValidatorBlock replacing the generic property editor
  • Added cross-document condition evaluation supporting equal, not_equal, in, not_in, gt, gte, lt, lte operators
  • Added source filter support with value (literal) and variable (resolved from input document) value types
  • Added documentValidatorBlock as allowed child of requestVcDocumentBlockAddon
  • Added unit tests for block validator

Related issue(s)

Resolves: #6312

@dariy-rised dariy-rised self-assigned this Jun 26, 2026
@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown

Test Results

 32 files  ±0   64 suites  ±0   4m 9s ⏱️ -15s
 35 tests ±0   33 ✅ ±0  0 💤 ±0  2 ❌ ±0 
165 runs  ±0  163 ✅ ±0  0 💤 ±0  2 ❌ ±0 

For more details on these failures, see this check.

Results for commit fdbd1ff. ± Comparison against base commit 0bb0cbb.

♻️ This comment has been updated with latest results.

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…umentBlockAddon

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…nd condition fields

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
… conditions

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…ponent

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
… config component

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…andalone block

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…text

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…r error messages

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
@dariy-rised dariy-rised force-pushed the feat/validation-addon-block branch from 8c497bc to 864d4e0 Compare June 29, 2026 13:31
…son operators, fix in/not_in semantics, add unit tests

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
@dariy-rised dariy-rised marked this pull request as ready for review June 29, 2026 22:34
@dariy-rised dariy-rised requested review from a team as code owners June 29, 2026 22:34
…tions

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
@dariy-rised dariy-rised changed the title feat: Add source conditions to validation addon block feat: 6312 Add source conditions to validation addon block Jun 30, 2026
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…n error message

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
…filters

Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
Signed-off-by: Dariy Miseldzhani <dariy.miseldzhani@hashgraph.com>
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.

1 participant