-
Notifications
You must be signed in to change notification settings - Fork 10
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
Raise error on invalid attributes directly #49
Comments
pelme
added a commit
that referenced
this issue
Sep 8, 2024
This commit transforms attributes to strings directly when being called rather at rendering time. This makes exceptions for invalid attributes appear directly leading to clearer stack traces. Fixes #49.
pelme
added a commit
that referenced
this issue
Sep 8, 2024
This commit transforms attributes to strings directly when being called rather at rendering time. This makes exceptions for invalid attributes appear directly leading to clearer stack traces. Fixes #49.
This is fixed in 24.9.1! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, invalid attributes (such as integers) gets raised during rendering, not when constructing the element, leading to cryptic stack traces.
The error should be raised directly when constructing the invalid element, not during render:
The text was updated successfully, but these errors were encountered: