Skip to main content

GmContainerChange

One container-change notification from gameModelContainerChanged. Metadata only (no property values): clients pull the visibility-filtered state with gameModelContainerState on receipt. Delivery is post-commit and best-effort, like model-driven notifications.

type GmContainerChange {
appId: BigInt!
containerId: String!
typeName: String
sessionId: String
source: String!
functionName: String
changedKeys: [String!]!
occurredAt: DateTime!
}

Fields

GmContainerChange.appId ● BigInt! non-null scalar

The app (tenant).

GmContainerChange.containerId ● String! non-null scalar

The container that changed.

GmContainerChange.typeName ● String scalar

The container type (null if the type is unknown).

GmContainerChange.sessionId ● String scalar

The session scope of the change, when any.

GmContainerChange.source ● String! non-null scalar

What changed it: 'function' (invoke mutation), 'direct' (gameModelSetProperty), 'created', or 'deleted'.

GmContainerChange.functionName ● String scalar

For source='function': the function that mutated it.

GmContainerChange.changedKeys ● [String!]! non-null scalar

The property keys the change touched (empty for created/deleted; clamped to 32 keys).

GmContainerChange.occurredAt ● DateTime! non-null scalar

When the change committed.

Returned By

gameModelContainerChanged subscription