graphiti-api/spraypaint.js

`hasError` attribute is false when there is one validation error

Closed this issue · 0 comments

We are seeing a failed validation that populates the errors attribute returned with the new entity, but the hasError attribute is still false.

It looks like spraypaint checks for greater than 1 error:

get hasError() {

Screen Shot 2020-06-30 at 1 33 50 PM