Configure errors in a scope
Is it possible to set a
I have something like this:
The error summary looks as follows:
Ultimately what I want to do is tell the user the name of object that had the error (let's just assume the
So something like:
I was thinking of doing something like this:
But I would need to apply that to all types contained within my
expected/actual/etc handler for every type in a scope?I have something like this:
The error summary looks as follows:
value at [0].myKey must be a number (was a string)Ultimately what I want to do is tell the user the name of object that had the error (let's just assume the
name property is always on the object).So something like:
(for object with name 'foo'): value at [0].myKey must be a number (was a string)I was thinking of doing something like this:
But I would need to apply that to all types contained within my
foo .