Skip to content

Add TypeScript workaround for Document Service relational operators#3189

Merged
pwizla merged 1 commit into
strapi:mainfrom
GorkyDemircn:patch-2
May 20, 2026
Merged

Add TypeScript workaround for Document Service relational operators#3189
pwizla merged 1 commit into
strapi:mainfrom
GorkyDemircn:patch-2

Conversation

@GorkyDemircn
Copy link
Copy Markdown
Contributor

Description

This PR enhances the Document Service relations documentation by introducing a troubleshooting workaround for TypeScript environments.

Changes Included

  • Resolved a minor layout issue by properly closing a note callout container block.
  • Added a :::tip block detailing the TS2353 compiler error that occurs when developers use connect, disconnect, or set inside the Document Service API in TypeScript.
  • Provided a clean type-casting workaround (as any) to help developers bypass the temporary typing limitation.

Added TypeScript workaround for TS2353 error when using connect, disconnect, or set with Document Service API.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

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

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment May 19, 2026 8:54pm

Request Review

Copy link
Copy Markdown
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

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

Thank you, @GorkyDemircn!
The PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release a bit later today 👀

@pwizla pwizla changed the title docs: add TypeScript workaround for Document Service relational operators Add TypeScript workaround for Document Service relational operators May 20, 2026
@pwizla pwizla self-assigned this May 20, 2026
@pwizla pwizla added pr: chore source: CMS contribution PRs that are part of the Documentation Contribution Program labels May 20, 2026
@pwizla pwizla added this to the 6.26.0 milestone May 20, 2026
@pwizla pwizla merged commit dab9833 into strapi:main May 20, 2026
10 of 12 checks passed
pwizla added a commit that referenced this pull request May 20, 2026
Added TypeScript workaround for TS2353 error when using connect, disconnect, or set with Document Service API.

Co-authored-by: Gorky <110297297+GorkyDemircn@users.noreply.github.com>
@GorkyDemircn
Copy link
Copy Markdown
Contributor Author

Thank you, @GorkyDemircn! The PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release a bit later today 👀

thank you! @pwizla

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.

2 participants