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
schema = {
"type": "object",
"properties": {
"github_url": { "type": "string", "nullable": true }
}
}
# => The property '#/github_url' of type null did not match the following type: string
JSON::Validator.validate!(schema, { "github_url" => null })
schema = {
"type": "object",
"properties": {
"github_url": { "type": "string" }
}
}
# => The property '#/github_url' of type null did not match the following type: string
JSON::Validator.validate!(schema, { "github_url" => null })
The text was updated successfully, but these errors were encountered:
current behavior
expected behavior
also, without
nullable
attributeThe text was updated successfully, but these errors were encountered: