Skip to content

[4.x]: Unable to set revisionNotes via GraphQL #16943

@shishkin

Description

@shishkin

What happened?

Description

revisionNotes field is available for querying but not for writing, which makes it impossible to save entry's revision with a revision note.

Steps to reproduce

  1. Create GraphQL mutation:
mutation MyMutation {
  save_something_default_Entry(
    id: 42
    # this is not available:
    revisionNotes: "Change"
  )
}

Expected behavior

Should be possible to save entries with revision notes via GraphQL API.

Actual behavior

GraphQL schema doesn't support setting revision notes.

Both 4.x and 5.x API docs are missing revisionNotes in save mutations.

Craft CMS version

4.14.11

PHP version

8.2.26

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    graphql ⚙️features related to the GraphQL API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions