Skip to content

feat: inline fragments to fragment definitions#2893

Closed
samuelAndalon wants to merge 3 commits intoapollographql:mainfrom
samuelAndalon:feat/fragmentify
Closed

feat: inline fragments to fragment definitions#2893
samuelAndalon wants to merge 3 commits intoapollographql:mainfrom
samuelAndalon:feat/fragmentify

Conversation

@samuelAndalon
Copy link
Contributor

@samuelAndalon samuelAndalon requested a review from a team as a code owner December 18, 2023 20:18
@netlify
Copy link

netlify bot commented Dec 18, 2023

👷 Deploy request for apollo-federation-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f92b14b

@changeset-bot
Copy link

changeset-bot bot commented Dec 18, 2023

⚠️ No Changeset found

Latest commit: f92b14b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 18, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@samuelAndalon samuelAndalon deleted the feat/fragmentify branch March 2, 2024 20:51
dariuszkuc pushed a commit that referenced this pull request Mar 18, 2024
If enabled, the query planner will extract inline fragments into
fragment definitions before sending queries to subgraphs. This can
significantly reduce the size of the query sent to subgraphs, but may
increase the time it takes to plan the query.

This is a reimplementation of
#2893 that applies
transformations on the selection set instead of AST.

Credit to @samuelAndalon for suggesting the new approach. Resolves
#2892
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