Closed janrtvld closed 2 years ago
@janrtvld Is this why I am seeing a
{
...,
"constraints": {
"isInstance": "each value in requestedPredicates must be an instance of ProofPredicateInfo",
"isMap": "requestedPredicates must be a Map"
}
}
error whenever I try to interact with the request proof endpoint? I have tried a number of things for the requestedPredicates
and requestedAttributes
fields but am not able to pass validation..
What is the payload you're sending to the rest API?
Is this fixed by #148?
Yes, we have removed the properties that aren't working (Routing
& Attachment
)
OpenAPI validation is currently not working because it fails to validate nested objects.
This can be resolved by implementing class-validator decorators in AFJ. https://github.com/hyperledger/aries-framework-javascript/pull/360