-
-
Notifications
You must be signed in to change notification settings - Fork 77
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 when overriding HTML elements #626
Comments
Implementation with a TracePoint. |
We could ship a 1.x version that doesn't break. |
joeldrapper
changed the title
Warn when overriding HTML elements
Raise when overriding HTML elements
Jan 30, 2024
I don’t love the idea of using a TracePoint to implement this, which we need to support the I’m just going to close this for now. If it comes up again, we can take another look. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Phlex could issue a warning or raise whenever an element method is overridden in a subclass. The warning could be ignored explicitly with a macro, e.g.
I think this might make sense as a feature you can optionally enable.
The text was updated successfully, but these errors were encountered: