You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Case of multiple mandatory fields are missing , names of the missing properties is not displayed.
For the example two mandatory properties are missing in the json input , but at the time of the validation following error is getting displayed. Is it possible which all mandatory fields are missing along with their name.
Hello, I will use this case to ask about similar thing:
I'm using the causingExceptions but when it is required type of violation the pointerToViolation is wrong.
Should be "partyType" in my case (as in the detailsMessage stated).
Is there any chance to fix this ? I hate parsing strings to get data that can be retrieved simplier way :)
The "required" keyword sets a constraint on the containing object and not the property itself, so the pointer is ok. The pointers should not reference nonexistent data (which would be the case if it would point to the missing property).
I know that it isn't very good to parse the exception message to get the missing property name. This problem may be addressed in the future, but there is no ETA.
It would be great if there would be some common place where we could find fieldName causing the issue, all the more there is such information available.
In Case of multiple mandatory fields are missing , names of the missing properties is not displayed.
For the example two mandatory properties are missing in the json input , but at the time of the validation following error is getting displayed. Is it possible which all mandatory fields are missing along with their name.
"rg.everit.json.schema.ValidationException: #: 2 schema violations found"
Thanks For the help
The text was updated successfully, but these errors were encountered: