Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix oneOf when used with Symbols #224

Merged
merged 1 commit into from Feb 8, 2019

Commits on Oct 2, 2018

  1. [Fix] Fix oneOf when used with Symbols

    - Fixes error due to an attempt to coerce a Symbol to a string
    - Improves formatting of the "expected" portion of the generated
      warning, outputting for example `["Symbol(A)","Symbol(B)"]` rather
      than `[null,null]`
    
    Fixes facebook#10
    jimf authored and ljharb committed Oct 2, 2018
    Copy the full SHA
    3b39cab View commit details
    Browse the repository at this point in the history