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: update rule condition value didn't generate flag instructions #480

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

cosmos-explorer
Copy link
Contributor

@cosmos-explorer cosmos-explorer commented Aug 22, 2023

If we only update one condition's op or value, current code would not create any FlagInstructions, but a UpdateRuleCondition instruction should be created in this case.

Reproduce:
update rule condition: name is true => name is false

@cosmos-explorer cosmos-explorer added bug Something isn't working api labels Aug 22, 2023
Copy link
Contributor

@deleteLater deleteLater left a comment

Choose a reason for hiding this comment

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

LGTM

@deleteLater deleteLater changed the title 🐛fixed sematic patch bug when a condition operation and/or value is changed 🐛 fix: update rule condition value didn't generate instructions Aug 23, 2023
@deleteLater deleteLater changed the title 🐛 fix: update rule condition value didn't generate instructions 🐛 fix: update rule condition value didn't generate flag instructions Aug 23, 2023
@deleteLater deleteLater merged commit 952bc99 into main Aug 23, 2023
1 check passed
@deleteLater deleteLater deleted the fix/sematicpatch-compare-conditions branch August 23, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants