Skip to content

Conversation

@pwizla
Copy link
Collaborator

@pwizla pwizla commented Dec 13, 2022

Reworks #1324 with a streamlined, hopefully simpler approach:

  • simpler structure (lighter in the TOC)
  • tables
  • tabs for various examples with the full context

@vercel
Copy link

vercel bot commented Dec 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
documentation ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 17, 2023 at 1:39PM (UTC)
documentation-docu-mvp ❌ Failed (Inspect) Jan 17, 2023 at 1:39PM (UTC)

@Boegie19
Copy link
Contributor

Boegie19 commented Dec 21, 2022

Should the relations part of this documentation not also exist under:

  • Entity Service API
  • GraphQL API
  • Query Engine API

With some small modifications to the examples?

Also it mind be worth to add to the docs what happens if connect a already existing relationship in an update.
Since you can do that to change the position of a relationship
if you do connect instance without adding a position it should do noting if it already exists.

pwizla and others added 4 commits January 17, 2023 11:04
Co-authored-by: Gustav Hansen <gu@stav.dev>
Co-authored-by: Gustav Hansen <gu@stav.dev>
…api/documentation into dev/relations-reordering-alternative
Copy link
Contributor

@Marc-Roig Marc-Roig left a comment

Choose a reason for hiding this comment

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

sublime :) Can't see anything more to add.

@pwizla
Copy link
Collaborator Author

pwizla commented Jan 17, 2023

Note: This PR will be merged for the beta release, and we'll have another shorter PR to remove beta mentions to get ready for GA.

@pwizla
Copy link
Collaborator Author

pwizla commented Jan 17, 2023

Should the relations part of this documentation not also exist under:

* Entity Service API

* GraphQL API

* Query Engine API

With some small modifications to the examples?

Thanks for your question, @Boegie19! The syntax explained for the REST API will be exactly the same for the Query Engine and Entity Service APIs so we've only added this callout to redirect to the related REST API page.

@pwizla pwizla merged commit cef58d7 into main Jan 18, 2023
@pwizla pwizla deleted the dev/relations-reordering-alternative branch January 18, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections size: large If the PR includes 1+ file(s) with a total of 50+ lines of text or 100+ lines of code source: Dev Docs PRs/issues targeting the Developer Docs target: v4 Documentation PRs/issues targeting content from docs.strapi.io (main branch).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants