Open pcpiela opened 5 years ago
After calling the render method with the following schema and initial data, calling the validate method returns an incorrect result of true.
schema: { "type": "object", "properties": { "id": { "type": "string", "enum": ["good"] } } }
Data to be validated:
{ "id": "bad" }
{ "type": "object", "properties": { "id": { "type": "string", "enum": ["good", "bad"] } } }
After calling the render method with the following schema and initial data, calling the validate method returns an incorrect result of true.
schema: { "type": "object", "properties": { "id": { "type": "string", "enum": ["good"] } } }
Data to be validated:
{ "id": "bad" }