BeaconCMS / BeaconCMS/beacon

Validate component calls in HEEx templates

Open
#665 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
1.3k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Adding an undefined component should warn and _not_ save the template.

For example adding `<. whatever />` into a page template, and assuming that component doesn't exist anywhere, it should not let the user save the page and display a compilation error, similar to when a template syntax is invalid.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.