disable strict parameter consumption by default

This commit is contained in:
Jonathan Shook 2022-06-02 16:41:32 -05:00
parent 480e91565d
commit 07339c4879

View File

@ -48,7 +48,7 @@ public class StandardActivity<R extends Op, S> extends SimpleActivity {
try {
OpMapper<R> opmapper = adapter.getOpMapper();
Function<Map<String, Object>, Map<String, Object>> preprocessor = adapter.getPreprocessor();
boolean strict = activityDef.getParams().getOptionalBoolean("strict").orElse(true);
boolean strict = activityDef.getParams().getOptionalBoolean("strict").orElse(false);
sequence = createOpSourceFromCommands(opmapper, adapter.getConfiguration(), List.of(preprocessor), strict);
} catch (Exception e) {
if (e instanceof OpConfigError) {