Skip to content

Unmapped components silently do nothing #87

@samuelgomezvaltech

Description

@samuelgomezvaltech

Describe the bug
If MapTo is not done between a component and a cqType, the Container component will not render it and no logging will be produced.

Package version
1.1.10

To Reproduce
Steps to reproduce the behavior:

  1. Create some custom component
  2. Forget to MapTo between that component and the cqType or make a typo on it
  3. Include that component in a container

Expected behavior
The component is not rendered and the developer gets some visual clue or a log line about what just happened, allowing the developer to suspect of only one or two probable causes.

Actual behavior
The component is not rendered and the developer gets no visual clue nor a log line about what just happened, leaving the developer wondering about a wide variety of possible causes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions