skipcheck

TM1 client · Docs · Versions and capabilities

Tm1SupportMode

using Skipcheck.Tm1.Client.Version;

How strictly a client holds calls to what the connected TM1 version does: a feature the server would refuse anyway is refused before sending, and one it would accept and then drop or answer with nothing is sent with a warning.

What the server's own $metadata lacks (Tm1SupportStatus.Unsupported with no fact) is refused in every mode: the modes govern the support facts, which can be out of date, not $metadata, which can't. Tm1SupportStatus.Partial depends on the call's arguments, so it's never held in any mode.

Members

Warn staticThe default.
Strict staticFor tests and CI.
Off staticThe escape hatch for facts that are out of date.
OutcomeWhat this mode does with a call to a feature.

Warn

static
Warn

The default. A refusal the facts certify for this version is refused; one they only extrapolate to it is sent with a warning, as is a read that answers with nothing (Tm1SupportStatus.Inert) and a write that's dropped (Tm1SupportStatus.Ignored).

Strict

static
Strict

For tests and CI: every warning of Warn is a refusal instead, except a Tm1SupportStatus.Conditional feature whose setting couldn't be read, which is only ever a warning.

Off

static
Off

The escape hatch for facts that are out of date: every call is sent, and the facts aren't checked.

Outcome

Tm1SupportOutcome Outcome(this Tm1SupportMode mode, Tm1Support support, bool? setting)

What this mode does with a call to a feature.

Parameters

support
What the server does with the feature.
setting
For a Tm1SupportStatus.Conditional feature, whether the setting it depends on is on, or null if it couldn't be read; ignored otherwise.