Skip to content

Commit

Permalink
PR FIXUP: Link to Validator chaining ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Oct 28, 2024
1 parent 09d6d6b commit a8ae842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ import (
// asserting direct equality.
//
// They may mutate test state.
//
// Todo: This does not currently support chaining/nesting of Validators,
// although we would like that long term:
// https://github.com/sourcenetwork/defradb/issues/3189
type Validator interface {
Validate(s *state, actualValue any, msgAndArgs ...any)
}
Expand Down

0 comments on commit a8ae842

Please sign in to comment.