File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ final class ServerCapabilities
4343 * it in history
4444 * @param bool $countGroupByExecutionStatus
4545 * True if the server supports count group by execution status
46- * (-- api-linter: core::0140::prepositions=disabled --)
46+ * @param bool $nexus
47+ * True if the server supports Nexus operations.
48+ * This flag is dependent both on server version and for Nexus to be enabled via server configuration.
4749 */
4850 public function __construct (
4951 public readonly bool $ signalAndQueryHeader = false ,
@@ -56,6 +58,7 @@ public function __construct(
5658 public readonly bool $ eagerWorkflowStart = false ,
5759 public readonly bool $ sdkMetadata = false ,
5860 public readonly bool $ countGroupByExecutionStatus = false ,
61+ public readonly bool $ nexus = false ,
5962 ) {}
6063
6164 /**
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ public function getServerCapabilities(): ?ServerCapabilities
202202 eagerWorkflowStart: $ capabilities ->getEagerWorkflowStart (),
203203 sdkMetadata: $ capabilities ->getSdkMetadata (),
204204 countGroupByExecutionStatus: $ capabilities ->getCountGroupByExecutionStatus (),
205+ nexus: $ capabilities ->getNexus (),
205206 );
206207 } catch (ServiceClientException $ e ) {
207208 if ($ e ->getCode () === StatusCode::UNIMPLEMENTED ) {
You can’t perform that action at this time.
0 commit comments