We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Testcase currently disabled in "openvalidation-core\src\test\java\end2ast\lambdas\FirstFunctionsTests.java":
@Test void first_function_on_numbers_array_with_arithmetic_in_condition_playground() throws Exception { String rule = "First from numbers with a value * 2 greater than 3 as myNumber"; String schema = "{numbers: [1,2,3]}"; End2AstRunner.run( rule, schema, r -> r.variables() .first() .function("FIRST") .parameters() .second() .lambdaCondition() .leftArithmeticalOperation() .first() .propertyValue() .hasType(DataPropertyType.Decimal) .hasEmptyPath() .hasSameLambdaTokenAsParentLambdaCondition()); }
The Validator will mark the resulting ASTModel as faulty because the condition contains a static string.
Add manual resolution in io/openvalidation/antlr/transformation/postprocessing/PostModelWhereOnSimpleTypeResolver.java.
NOTE: There is also a disabled integration test for this in "openvalidation-integration-tests/src/test/resources/playground-tests.test"
The text was updated successfully, but these errors were encountered:
lionelpa
No branches or pull requests
Current Behavior
Testcase currently disabled in "openvalidation-core\src\test\java\end2ast\lambdas\FirstFunctionsTests.java":
The Validator will mark the resulting ASTModel as faulty because the condition contains a static string.
Possible Solution
Add manual resolution in io/openvalidation/antlr/transformation/postprocessing/PostModelWhereOnSimpleTypeResolver.java.
NOTE: There is also a disabled integration test for this in "openvalidation-integration-tests/src/test/resources/playground-tests.test"
The text was updated successfully, but these errors were encountered: