-
Notifications
You must be signed in to change notification settings - Fork 674
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
allow calling audited multiple times #734
base: main
Are you sure you want to change the base?
allow calling audited multiple times #734
Conversation
@mohammednasser-32 awesome, thanks for the quick turnaround! Just curious—if the updated options work the same as if it were originally called once with those options, maybe the warning is unnecessary (or can be optionally silenced)? My suggestion about the warning was in lieu of a fix so people wouldn’t hit the same pitfall as I did and not know it :-) |
@arcreative you'r welcome :) also yes makes sense, adjusted here |
@mohammednasser-32 Cool, thanks! So just to confirm my use case, I generally call |
@arcreative so would it be better to remove the warning? |
I think so. My original suggestion for the warning was to tell people that it wasn't working as intended. If it's working as intended, then I think the warning is unnecessary. |
@arcreative perfect, incorporated here |
Hey @danielmorrison , since this already got approved I was just wondering if it is going to be merged soon? Thank you 🙏 |
Allow
audited
to be called multiple timesWhen
audited
is called for the first time, setup audit normallyHowever if
audited
is called on a class that is already audited we updateaudit_options
and log a warning messagean example of the warning message logged:
Fixes #731