Closed misja closed 9 years ago
I just noticed the fix, quite obvious, but I missed it! Thanks :) One other thing that's not too obvious for me at the moment is how to construct a validator by using namespaced schemas I have available via a Edit: last question sorted.FilesystemProvider
(and also to have these globally available via a Registry
). Not sure if this is the best place to ask but if you could provide an example that would be great.
I have the following schema:
Validating the following documents raises a
ValidationError('Wrong type', 'hello')
error:This is due to
validate_type
marking the value"hello"
as not a type number during the recursion, but am not able to trace why this error is bubbling up sincevalidate_one_of
already validated the condition as true. Any ideas?