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

Feature/add context to no rule match #167

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

yusuftor
Copy link
Collaborator

@yusuftor yusuftor commented Aug 31, 2023

Changes in this pull request

When a user gets no_rule_match, we now store which part of the unmatched rules failed in the TriggerFire event params. This is in the format "unmatched_rule_<id>": "<outcome>". Where outcome will either be OCCURRENCE, referring to the limit applied to a rule, or EXPRESSION. The id is the experiment id.

Checklist

  • All unit and UI tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
  • I have run swiftlint in the main directory and fixed any issues.
  • I have updated the SDK documentation as well as the online docs.
  • I have reviewed the contributing guide

@yusuftor yusuftor merged commit 83fc8a7 into develop Aug 31, 2023
2 checks passed
@yusuftor yusuftor deleted the feature/add-context-to-no-rule-match branch August 31, 2023 08:16
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.

None yet

1 participant