Skip to content

Clarify that private attributes are writable in GraphQL mutation inputs#3337

Draft
pwizla wants to merge 2 commits into
mainfrom
cms/document-private-fields-in-graphql-mutation-inputs
Draft

Clarify that private attributes are writable in GraphQL mutation inputs#3337
pwizla wants to merge 2 commits into
mainfrom
cms/document-private-fields-in-graphql-mutation-inputs

Conversation

@pwizla

@pwizla pwizla commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

This PR updates documentation based on strapi/strapi#26489.

Changes

  • cms/api/graphql.md — added a note to the Mutations section clarifying that attributes marked private: true are now included in generated GraphQL mutation input types (e.g., RestaurantInput!) so they can be set via create and update mutations, while remaining hidden from response types and filter inputs.

Generated automatically by the docs self-healing workflow.
Review before merging.

Private attributes (private: true) are now included in generated mutation
input types so clients can set them via create/update mutations, while
remaining hidden from response types and filter inputs.

Based on strapi/strapi#26489.
@pwizla pwizla added the auto-doc-healing Automatically generated documentation PR label Jul 16, 2026
@pwizla pwizla self-assigned this Jul 16, 2026
@strapi-cla

strapi-cla commented Jul 16, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ pwizla
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jul 16, 2026 3:03pm

Request Review

Comment thread docusaurus/docs/cms/api/graphql.md Outdated
@pwizla pwizla added the flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR internal PRs created by the Strapi core team pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants