Table of Contents

Interface IContractVersionService

Namespace
Excalibur.Dispatch.Middleware.Versioning
Assembly
Excalibur.Dispatch.dll

Service interface for managing contract versions and compatibility.

public interface IContractVersionService
Extension Methods

Methods

CheckCompatibilityAsync(string, string, string[]?, CancellationToken)

Checks version compatibility for a schema.

Task<VersionCompatibilityResult> CheckCompatibilityAsync(string schemaId, string version, string[]? supportedVersions, CancellationToken cancellationToken)

Parameters

schemaId string

The schema identifier.

version string

The version to check.

supportedVersions string[]

List of supported versions.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<VersionCompatibilityResult>

Compatibility result.