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

Throwing errors #8

Open
literat opened this issue Apr 22, 2024 · 0 comments
Open

Throwing errors #8

literat opened this issue Apr 22, 2024 · 0 comments

Comments

@literat
Copy link
Contributor

literat commented Apr 22, 2024

WHEN (situation): programming/coding
WHAT: I'm making mistakes
WHY: Because it happens

Acceptance criteria
Throw error instead of doing something else

When I send a non-existent variable to the API component, it should primarily blow up that I'm working with a non-existent variable in the template.

Instead, using TwigX, the component accepts that variable and prints a tag to the DOM instead of the component's content (which, in addition, does not terminate if the unpaired tag notation is used and, if used that way inside a loop/for loop, plunges more and more inside the un-terminated component with each iteration).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant