Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: uninvuitive for jsonValidate() return value if (errors) #782
There's some errors which are hard to avoid efficiently with jsonValidate schema, for instance Delegate Registration has no recipient, but all transaction types are based off the TransactionModel, which has a strict schema where recipient is a string. Therefore, it might be acceptable to pretty-print the JSON schema used against the input, as well as the input itself.
I thought this might be a welcome change for debugging the schema.
Types of changes