Closed johngluckmdsol closed 6 years ago
This means that the error message will always contain the UUID of the schema and not the uri. That is because @base_schema.validate(@data,[],self,@validation_options)
@base_schema.validate(@data,[],self,@validation_options)
uses @validation_options and those do not assign :error_as_objects so it will always be the default
@validation_options
:error_as_objects
Note: this is a problem when using fully_validate
fully_validate
Misunderstanding
Ok, closing this then
This means that the error message will always contain the UUID of the schema and not the uri.
That is because
@base_schema.validate(@data,[],self,@validation_options)
uses
@validation_options
and those do not assign:error_as_objects
so it will always be the defaultNote: this is a problem when using
fully_validate