Skip to content

Commit fc115ae

Browse files
authored
Decrease Java model priority (#1239)
This way when both jackson model and java model are in the classpath, the jackson model will take preference. Signed-off-by: fjtirado <ftirados@redhat.com>
1 parent 689c213 commit fc115ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

experimental/model/src/main/java/io/serverlessworkflow/impl/model/func/JavaModelFactory.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,9 @@ public WorkflowModel fromNull() {
8282
public WorkflowModel fromOther(Object obj) {
8383
return new JavaModel(obj);
8484
}
85+
86+
@Override
87+
public int priority() {
88+
return DEFAULT_PRIORITY + 10;
89+
}
8590
}

0 commit comments

Comments
 (0)