New: Kith open-sources its ATS.Read why
Skip to Content
Mutations

acceptChangeSuggestion

Accept a suggestion, as proposed or with an amended change, and apply it in the same write. If it cannot be applied nothing changes and the suggestion stays open (CHANGE_SUGGESTION_CANNOT_APPLY, with the reason). A decided suggestion is final: accepting one again in the same way returns it unchanged, and any other decision on it is CHANGE_SUGGESTION_ALREADY_DECIDED. Who decided is the caller.

acceptChangeSuggestion(
  input: AcceptChangeSuggestionInput!
): AcceptChangeSuggestionPayload!

Arguments

acceptChangeSuggestion.input · AcceptChangeSuggestionInput! non-null input

The suggestion to accept, with the amended change if the person made one.

Type

AcceptChangeSuggestionPayload object

The accepted suggestion and what it changed.