You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the method is added, we should add unit tests for each visitor to have some basic level of assurance that we are not intentionally doing this.
Additionally, we should come up with a paradigm where this check can be enabled on a visitor via configuration so that we can test this in production if we suspect the issue is occurring. We should do this for validateLineage as well.
The text was updated successfully, but these errors were encountered:
jwomeara
changed the title
Add a method to JexlASTHelper which checks for single child AND/OR nodes
Add a method to JexlASTHelper which checks for AND/OR nodes with a single child
Jul 27, 2021
…1366)
* Add method to JexlASTHelper to validate children of junction nodes
Add a method that will validate that a specified query tree does not
have any junction (AND/OR) nodes with less than 2 children.
Fixes#1233
* Add validateJunctionChildren(node) with default for failHard
Co-authored-by: hgklohr <hgklohr@gmail.com>
Once the method is added, we should add unit tests for each visitor to have some basic level of assurance that we are not intentionally doing this.
Additionally, we should come up with a paradigm where this check can be enabled on a visitor via configuration so that we can test this in production if we suspect the issue is occurring. We should do this for validateLineage as well.
The text was updated successfully, but these errors were encountered: