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

WIP cleanup reason deprecation #2857

Merged

Conversation

blaine-arcjet
Copy link
Contributor

These are WIP changes to #2715 but during implementation I realized that reason is just as error-prone on DENY and CHALLENGE decisions since multiple rules could produce those results and the priority would determine the one reason to set as decision.reason.

I think that if we are going to make this change, then we need to be consistent across all types.

Copy link

trunk-io bot commented Jan 14, 2025

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

@blaine-arcjet blaine-arcjet marked this pull request as ready for review January 15, 2025 17:14
@blaine-arcjet blaine-arcjet requested a review from a team as a code owner January 15, 2025 17:14
@blaine-arcjet blaine-arcjet merged commit 9fc8d23 into eoin/deprecate-reason-for-allow Jan 15, 2025
28 checks passed
@blaine-arcjet blaine-arcjet deleted the phated/deprecate-reason branch January 15, 2025 17:14
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.

1 participant