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

Require opt-in attribute to reset combinator #1083

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Oct 15, 2022

This PR introduces the ResetCombinatorAttribute as an explicit opt-in requirement for resetting non-serializable combinator properties. This allows classes to request a reset of their volatile runtime state at workflow build time without compromising performance or introducing unexpected behavior for all other regular combinators.

Fixes #659

@glopesdev glopesdev added the feature New planned feature label Oct 15, 2022
@glopesdev glopesdev added this to the 2.7.0 milestone Oct 15, 2022
@glopesdev glopesdev merged commit 1dc51f5 into bonsai-rx:main Oct 15, 2022
@glopesdev glopesdev deleted the issue-659 branch October 15, 2022 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider resetting non-serializable public properties marked with XmlIgnore during build phase
1 participant