We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ef9b4 commit 7245bf8Copy full SHA for 7245bf8
temporal-sdk/src/main/java/io/temporal/internal/common/InternalUtils.java
@@ -74,6 +74,10 @@ public static WorkflowStub createNexusBoundStub(
74
throw new IllegalArgumentException("Options are expected to be set on the stub");
75
}
76
WorkflowOptions options = stub.getOptions().get();
77
+ if (options.getWorkflowId() == null) {
78
+ throw new IllegalArgumentException(
79
+ "WorkflowId is expected to be set on WorkflowOptions when used with Nexus");
80
+ }
81
WorkflowOptions.Builder nexusWorkflowOptions =
82
WorkflowOptions.newBuilder(options)
83
.setRequestId(request.getRequestId())
0 commit comments