Skip to main content

InstanceComparison

A per-component comparison between two environments.

Instances are paired across environments by their underlying component. When only one side has an instance for a given component, the other side's source/target is null, and every param appears as present on the populated side only.

type InstanceComparison {
component: Component!
source: Instance
target: Instance
version: VersionComparison!
params: [ParamComparison!]!
equal: Boolean!
}

Fields

InstanceComparison.component ● Component! non-null object {#component}

The component shared (or would-be-shared) by the two instances being compared.

InstanceComparison.source ● Instance object {#source}

The instance on the source environment, or null if the component is not deployed there.

InstanceComparison.target ● Instance object {#target}

The instance on the target environment, or null if the component is not deployed there.

InstanceComparison.version ● VersionComparison! non-null object {#version}

The instance's resolved version on each side, with an equal flag.

InstanceComparison.params ● [ParamComparison!]! non-null object {#params}

Flat, leaf-level diff of the two instances' configured params.

InstanceComparison.equal ● Boolean! non-null scalar {#equal}

true when both instances are present, the versions match, and every param is equal.

Member Of

EnvironmentComparison object