-
-
Notifications
You must be signed in to change notification settings - Fork 595
Closed
Description
Some behaviors seem bug prone to me, am i missing something ?
# No raise, is this schema supposed to be valid ?
jsonschema.validate(instance='foo', schema={'type': 'string', 'minimum': 5})
# No raise, is this schema supposed to be valid ?
jsonschema.validate(instance=3, schema={'type': 'integer', 'pattern': '^foo$'})
# No raise, can't we infer the expected type when pattern is set ?
jsonschema.validate(instance=3, schema={'pattern': '^foo$'})
# No raise, can't we infer the expected type when a range is set ?
jsonschema.validate(instance='foo', schema={'minimum': 3})
Metadata
Metadata
Assignees
Labels
No labels