dwn-sdk-js icon indicating copy to clipboard operation
dwn-sdk-js copied to clipboard

Build helpful errors object using returned errors

Open 0xzoz opened this issue 2 years ago • 0 comments

  • Every time a validation function is called the errors property is overwritten. eg const errors = [...validateFn.errors];

https://github.com/TBD54566975/dwn-sdk-js/blob/98202beeed579628203b45fdaad45583409bd743/src/message.ts#L50-L56

0xzoz avatar Jun 10 '22 20:06 0xzoz