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

Unmapped components silently do nothing #87

Open
samuelgomezvaltech opened this issue Dec 6, 2021 · 0 comments
Open

Unmapped components silently do nothing #87

samuelgomezvaltech opened this issue Dec 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@samuelgomezvaltech
Copy link

samuelgomezvaltech commented Dec 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant