Which creates a experience issue given LogicalsOperators has literals And, Or and Eval. The literal Eval is not valid for composed nodes, but the following configuration is possible:
So in order to avoid framework consumers from using the framework this way, the proposal is to deprecate method WithLogicalOperator(LogicalOperators logicalOperator) and expose 2 new specific fluent methods on builder:
WithAndLogicalOperator()
WithOrLogicalOperator()
Deprecated method would be removed on next major release.
When adding composed nodes to rules, the fluent interface available on rules builder is:
Which creates a experience issue given LogicalsOperators has literals And, Or and Eval. The literal Eval is not valid for composed nodes, but the following configuration is possible:
So in order to avoid framework consumers from using the framework this way, the proposal is to deprecate method
WithLogicalOperator(LogicalOperators logicalOperator)
and expose 2 new specific fluent methods on builder:WithAndLogicalOperator()
WithOrLogicalOperator()
Deprecated method would be removed on next major release.