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 for force require ruleId and ruleName required to be same! #258

Merged
merged 9 commits into from
May 18, 2024

Conversation

wtfsayo
Copy link
Contributor

@wtfsayo wtfsayo commented May 17, 2024

Sorry about my editor config! :/

@wtfsayo wtfsayo requested a review from plor May 17, 2024 09:41
Copy link
Contributor

@plor plor left a comment

Choose a reason for hiding this comment

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

I think you may need to write tests for the app rules. The code doesn't make sense to me, and it seems like there are lots of weird behaviors that are not accounted for.

ruleName: string,
updateAppRuleDto: string[],
) {
const ruleType = await this.getRuleType(ruleName);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should exclude deleted RuleTypes

@wtfsayo wtfsayo requested a review from plor May 18, 2024 05:19
@wtfsayo wtfsayo merged commit 0eda428 into develop May 18, 2024
3 checks passed
@wtfsayo wtfsayo deleted the fix-appRule-by-id branch May 18, 2024 18:29
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.

2 participants