Skip to main content

ExecutePipelineMethodInvocation

Namespace: Meshmakers.Octo.Communication.Contracts.MessageObjects

Marker that tells a pipeline executor the run was started by the invocation of a Construction Kit method ( F3.7), so nodes that guard against creating entities of a type whose method replacesGenericCreate can let the replacing method's own pipeline run through.

public record ExecutePipelineMethodInvocation : IEquatable<ExecutePipelineMethodInvocation>

Inheritance Object → ExecutePipelineMethodInvocation
Implements IEquatable<ExecutePipelineMethodInvocation>

Remarks:

🔴 Set only by the communication controller's method invoker, never by clients. A caller-supplied marker would let any client lift the generic-create guard for a type; the controller overwrites or clears the member on every request it did not build itself. Nothing in this record is a credential and none of it is a proof — consumers must not treat it as one (no signing of bus messages is in scope).

🟢 Additive & back-compatible. The property carrying this record on ExecutePipelineRequest and LeaseDto is nullable: a payload of an older peer simply has no marker, and an older peer reading a newer payload ignores the unknown member.

Properties​

MethodId​

Qualified id of the invoked CK method (model, owning element and method name as the controller resolved it), for example "Model-1/Type-1/Method".

public string MethodId { get; set; }

Property Value​

String

InvocationId​

Unique id of this invocation. Lets an executor correlate the run with the invocation that started it and ignore a marker that is replayed for a different run.

public Guid InvocationId { get; set; }

Property Value​

Guid

CkTypeId​

Qualified CK type id the method was invoked on (the type whose generic create the method may replace).

public string CkTypeId { get; set; }

Property Value​

String

PipelineRtId​

Runtime id (ObjectId string) of the pipeline the method resolved to and that this request executes.

public string PipelineRtId { get; set; }

Property Value​

String

Constructors​

ExecutePipelineMethodInvocation()​

public ExecutePipelineMethodInvocation()