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 a prior version (v0.1.1), the specific additional properties were identified in the error message when additionalProperties keyword was set to false in the schema.
This no longer appears to be the case in v2. Was this feature removed? Is there way to retrieve the name of the additional property that is the source of the exception?
The text was updated successfully, but these errors were encountered:
Hi @Arqu. I was investigating this issue to see if this something I can address (I am a bit of a noob here).
There are two places where I believe the feature needs enhancement. I had a couple ideas on how to address this, but would like your thoughts. One easy way would be to pass key instead of data to AddError(), the second would be add in the property name to the error message. This would be similar to the error message in regular fields. The field name is included in the message in double quotes.
Both of these could end up being breaking changes as it changes the behavior. So wondering if you had more insight on how to approach this.
In a prior version (v0.1.1), the specific additional properties were identified in the error message when additionalProperties keyword was set to false in the schema.
This no longer appears to be the case in v2. Was this feature removed? Is there way to retrieve the name of the additional property that is the source of the exception?
The text was updated successfully, but these errors were encountered: