Skip to content

Align Document Service note with connect payloads#3129

Merged
pwizla merged 3 commits into
strapi:mainfrom
singhvishalkr:docs-2904-relations-document-service-note
May 6, 2026
Merged

Align Document Service note with connect payloads#3129
pwizla merged 3 commits into
strapi:mainfrom
singhvishalkr:docs-2904-relations-document-service-note

Conversation

@singhvishalkr

@singhvishalkr singhvishalkr commented May 6, 2026

Copy link
Copy Markdown
Contributor

Closes #2904.

The relations doc claimed Document Service skipped relations even though the same page already shows strapi.documents().update() with connect, and the intro says REST relation payloads carry over. I folded that into one admonition: REST, GraphQL, and Document Service share the same connect / disconnect / set shapes, plus a short paragraph on the TS2353 typing gap the bot flagged so server-side authors know what to do until core types catch up.

@vercel

vercel Bot commented May 6, 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 May 6, 2026 11:48am

Request Review

Comment thread docusaurus/docs/cms/api/rest/relations.md Outdated
Comment thread docusaurus/docs/cms/api/rest/relations.md Outdated

@pwizla pwizla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

I directly applied some fixes.

As a side note, I noticed a few trends in your PRs that should be fixed, so could you please add instructions to your AI model to:

  • never use bold except for button names,
  • never use prefixes in PR titles (per our git-rules.md)
    Thank you!

@pwizla pwizla added this to the 6.24.0 milestone May 6, 2026
@pwizla pwizla self-assigned this May 6, 2026
@pwizla pwizla added pr: chore source: CMS contribution PRs that are part of the Documentation Contribution Program labels May 6, 2026
@pwizla pwizla changed the title docs(relations): align Document Service note with connect payloads Align Document Service note with connect payloads May 6, 2026
@pwizla pwizla merged commit 013ff4e into strapi:main May 6, 2026
19 checks passed
pwizla added a commit that referenced this pull request May 6, 2026
…3129) (#3130)

* docs(relations): align Document Service note with connect payloads (#2904)

* Apply suggestion from @pwizla

* Apply suggestion from @pwizla

---------

Co-authored-by: Vishal Kumar Singh <vishal.kr.singh2021@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution PRs that are part of the Documentation Contribution Program pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Not possible to set relations via document api

2 participants