Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Fix oneOf when used with Symbols #224

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

jimf
Copy link
Contributor

@jimf jimf commented Oct 2, 2018

  • 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 #10

- 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants