-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: adds policy validation in policy engine #4428
feat: adds policy validation in policy engine #4428
Conversation
504b11f
to
a7b9d30
Compare
b49f1bc
to
8e3cf33
Compare
@@ -42,4 +43,9 @@ | |||
*/ | |||
boolean canHandle(Object leftValue); | |||
|
|||
|
|||
default Result<Void> validate(Object leftValue, Operator operator, Object rightValue, R rule) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
@@ -42,4 +43,9 @@ | |||
*/ | |||
boolean canHandle(Object leftValue); | |||
|
|||
|
|||
default Result<Void> validate(Object leftValue, Operator operator, Object rightValue, R rule) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
@@ -42,4 +43,9 @@ | |||
*/ | |||
boolean canHandle(Object leftValue); | |||
|
|||
|
|||
default Result<Void> validate(Object leftValue, Operator operator, Object rightValue, R rule) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
@@ -42,4 +43,9 @@ | |||
*/ | |||
boolean canHandle(Object leftValue); | |||
|
|||
|
|||
default Result<Void> validate(Object leftValue, Operator operator, Object rightValue, R rule) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
8e3cf33
to
8c53588
Compare
8c53588
to
e09080d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good content-wise, only a nit and some comments to be fixed/removed.
What this PR changes/adds
adds policy validation in policy engine
Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #4423
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.