policy: implement partial matching, to evaluate in multiple steps with fail early

This commit is contained in:
Michael Muré
2024-10-24 13:50:56 +02:00
parent 6d0fbd4d5a
commit 7662fe34db
3 changed files with 136 additions and 65 deletions

View File

@@ -8,8 +8,6 @@ import (
"github.com/ipld/go-ipld-prime/node/basicnode"
)
// TODO: remove entirely?
var Bool = basicnode.NewBool
var Int = basicnode.NewInt
var Float = basicnode.NewFloat