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

fix: do not allow instantiation of State mixins #4347

Merged

Conversation

benedikt-bartscher
Copy link
Contributor

Closes #4343

@benedikt-bartscher benedikt-bartscher marked this pull request as ready for review November 10, 2024 20:09
Copy link
Collaborator

@masenf masenf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving the error message here 🙏

reflex/state.py Outdated Show resolved Hide resolved
benedikt-bartscher and others added 2 commits November 11, 2024 21:56
Co-authored-by: Masen Furer <m_github@0x26.net>
Merge remote-tracking branch 'upstream/main' into do-not-allow-state-mixin-init
@benedikt-bartscher
Copy link
Contributor Author

integration-node-latest failure seems not to be related to the changes in this PR

@masenf masenf merged commit 1f9a175 into reflex-dev:main Nov 19, 2024
32 checks passed
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

Successfully merging this pull request may close these issues.

Testing rx.ComponentState by direct initialization broken in v0.6.2+ (SetUndefinedStateVarError)
2 participants