z-schema icon indicating copy to clipboard operation
z-schema copied to clipboard

How to get ID of error element

Open songoo opened this issue 7 years ago • 0 comments

Hi, at error I can get .path, but in cause of arrays path contains also number of item (/1/) . How can i get id of error element ?

I would like add additional error text for some of my enum elements, for now i have .path set as array and compare only last part of path. So i have to take care to have unique keyst in my schema.

Tnx for any help!

songoo avatar Jun 28 '17 15:06 songoo