Skip to content

docs(react-native): Add GraphQL integration docs#17361

Merged
alwx merged 1 commit intomasterfrom
alwx/graph-ql-integration-docs
Apr 16, 2026
Merged

docs(react-native): Add GraphQL integration docs#17361
alwx merged 1 commit intomasterfrom
alwx/graph-ql-integration-docs

Conversation

@alwx
Copy link
Copy Markdown
Contributor

@alwx alwx commented Apr 16, 2026

DESCRIBE YOUR PR

Add documentation for graphqlClientIntegration in React Native. This integration was added to @sentry/react-native in v7.5.0 but had no corresponding docs page.

Fixes #17296

IS YOUR CHANGE URGENT?

  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Add documentation for graphqlClientIntegration, which was exposed
in @sentry/react-native v7.5.0. The integration enhances spans and
breadcrumbs with GraphQL operation details for client-side requests.

Fixes #17296
Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 16, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Apr 16, 2026 9:30am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Apr 16, 2026 9:30am

Request Review

@alwx alwx self-assigned this Apr 16, 2026
@codeowner-assignment codeowner-assignment bot requested a review from a team April 16, 2026 09:20
@alwx alwx requested a review from antonis April 16, 2026 09:21
Comment on lines +1 to +5
---
title: GraphQL
description: "Enhance spans and breadcrumbs with data from GraphQL requests in React Native."
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The new graphql.mdx documentation file is missing the sidebar_order frontmatter field, which will cause it to be sorted alphabetically at the end of the sidebar list.
Severity: LOW

Suggested Fix

Add the sidebar_order field to the frontmatter of docs/platforms/react-native/integrations/graphql.mdx with an appropriate integer value to position it correctly within the sidebar navigation menu.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: docs/platforms/react-native/integrations/graphql.mdx#L1-L5

Potential issue: The new documentation file
`docs/platforms/react-native/integrations/graphql.mdx` does not include a
`sidebar_order` field in its frontmatter. The system's sorting mechanism defaults
missing `sidebar_order` values to `99999`, causing the page to be placed after all
explicitly ordered pages. It will then be sorted alphabetically among other unordered
pages. This is a cosmetic issue that affects the organization of the sidebar navigation
but does not break page rendering or accessibility. The page will appear, just
potentially not in its intended position relative to other integrations.

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Copy Markdown
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

LGTM

@alwx alwx merged commit 2208fe0 into master Apr 16, 2026
18 checks passed
@alwx alwx deleted the alwx/graph-ql-integration-docs branch April 16, 2026 09:33
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.

Add GraphQL integration docs for React Native SDK

2 participants