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
While testing using the sample JSON and schema given at https://json-schema.org/learn/getting-started-step-by-step.html and deliberately changing 'productId' in the JSON from an integer value to a string to get an error returned, I noticed that the value associated with dataPath was prefixed with a full stop (American: period, i.e. a dot):
"dataPath": ".productId"
I believe that this should not be the case.
I presume this have been processed from ajv output, the error message of which starts "data.productId".
The text was updated successfully, but these errors were encountered:
While testing using the sample JSON and schema given at https://json-schema.org/learn/getting-started-step-by-step.html and deliberately changing 'productId' in the JSON from an integer value to a string to get an error returned, I noticed that the value associated with dataPath was prefixed with a full stop (American: period, i.e. a dot):
"dataPath": ".productId"
I believe that this should not be the case.
I presume this have been processed from ajv output, the error message of which starts "data.productId".
The text was updated successfully, but these errors were encountered: