Closed tkobayas closed 5 months ago
Workaround:
Change (address!.street == "street1")
to (address != null, address.street == "street1")
Note:
Ensure that ExpressionTyperContext.addReactOnProperties
for the prop is called in https://github.com/apache/incubator-kie-drools/blob/main/drools-model/drools-model-codegen/src/main/java/org/drools/model/codegen/execmodel/generator/visitor/pattern/ClassPatternDSL.java#L276-L280
When using null-safe-dereferencing
!.
, exec-model fails to handle property reactive, so works like class reactive.This rule causes a loop.