Skip to content

Warning message is swallowed when using shape inside oneOfType #8901

@jochenberger

Description

@jochenberger

See http://codepen.io/jochenberger/pen/egVNzX
I'd expect a warning that says "Invalid prop bar supplied to App. A foo should not have a bar.' Or even better "Invalid prop foo.bar supplied to...".
But I only get "Invalid prop foo supplied to App".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions