ProductionMu Mutation

updateComponent

Topics: Jobs

Update a component. Only provided fields are changed. Requires component:write permission.

Returns

UpsertComponentPayload!

Arguments

id

ComponentID!Required

Component ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a component. Only provided fields are changed. Requires component:write permission.
"""
updateComponent(
  """Component ID to update"""
  id: ComponentID!
  """Fields to update — only provided fields are changed"""
  input: UpdateComponentInput!
): UpsertComponentPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.