Skip to content

Coercion to array does not work #571

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ghost opened this issue Mar 14, 2019 · 0 comments
Closed

Coercion to array does not work #571

ghost opened this issue Mar 14, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 14, 2019

Is there a problem with coercing "1" to ["1"]? With the schema

{
    "a": {
        "type": "array"
    }
}

and the json input

{
    "a": "1"
}

it does not do anything.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant