Skip to main content

gameModelContainerChanged

Push notification whenever a container in the app changes: an invoke mutated it, a direct gameModelSetProperty wrote it, or it was created/deleted. Metadata only (containerId, typeName, changedKeys — no property values); pull the visibility-filtered state with gameModelContainerState on receipt. Post-commit and best-effort (a dropped event costs one missed pull, never correctness) — durable reads remain the source of truth. Optional typeName/sessionId filters narrow delivery. Fans out across all API replicas. Requires a valid token. Replaces interval polling with pull-on-push.

gameModelContainerChanged(
appId: BigInt!
typeName: String
sessionId: String
): GmContainerChange!

Arguments

gameModelContainerChanged.appId ● BigInt! non-null scalar

The app (tenant) whose container changes to stream.

gameModelContainerChanged.typeName ● String scalar

Optional: only changes to containers of this type.

gameModelContainerChanged.sessionId ● String scalar

Optional: only changes scoped to this session.

Type

GmContainerChange object

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.