Skip to content

Conversation

@dev-docs-github-app-dev
Copy link

This PR adds new documentation to explain how to use the populate parameter in the Strapi GraphQL API to fetch related data along with your main query.

The new documentation covers:

  • Basic usage of the populate parameter to include related fields in GraphQL queries
  • Deep population of nested relations using dot notation
  • Populating media fields
  • Populating dynamic zones with fragments

These updates will help developers better understand how to efficiently retrieve related data in a single GraphQL request, improving the performance and user experience of their Strapi-powered applications.

@dev-docs-github-app-dev
Copy link
Author

This pull request was created by AI Agent. Please review the changes and provide feedback. Context used:

{
  "docsToCreate": [
    {
      "filePath": "docusaurus/docs/cms/api/graphql/guides/populate.md",
      "branch": "main"
    }
  ],
  "docsToUpdate": [],
  "relevantCodeFiles": [
    {
      "filePath": "packages/core/content-releases/admin/src/pages/ReleaseDetailsPage.tsx",
      "branch": "develop"
    },
    {
      "filePath": "packages/core/content-releases/admin/src/pages/ReleasesPage.tsx",
      "branch": "develop"
    },
    {
      "filePath": "packages/core/content-releases/admin/src/components/ReleaseActionMenu.tsx",
      "branch": "develop"
    },
    {
      "filePath": "packages/core/content-releases/admin/src/components/ReleaseActionModal.tsx",
      "branch": "develop"
    }
  ],
  "relevantCodeRepo": "team-dev-docs/strapi",
  "relevantDocsFiles": [
    {
      "filePath": "docusaurus/docs/cms/api/graphql.md",
      "branch": "main"
    },
    {
      "filePath": "docusaurus/docs/cms/api/graphql/locale.md",
      "branch": "main"
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant