Would it be possible to support passing LYD_VALIDATE_* options to lyd_validate_op function?
lyd_validate_all does support it.
Specifically I would need the LYD_VALIDATE_MULTI_ERROR and LYD_VALIDATE_PRESENT.
We need it to determine if a given value is valid for a given leaf in the context of a given data tree. The problem is that we need this to work even if other nodes in the data tree are invalid (unsatisfied must condition, missing required value).
Would it be possible to support passing
LYD_VALIDATE_*options tolyd_validate_opfunction?lyd_validate_alldoes support it.Specifically I would need the
LYD_VALIDATE_MULTI_ERRORandLYD_VALIDATE_PRESENT.We need it to determine if a given value is valid for a given leaf in the context of a given data tree. The problem is that we need this to work even if other nodes in the data tree are invalid (unsatisfied must condition, missing required value).