Skip to content

Conversation

@guendev
Copy link
Owner

@guendev guendev commented Oct 21, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 21, 2025 12:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the UseFragmentResult type definition by converting it from a conditional generic type to a discriminated union, improving TypeScript type narrowing. It also includes documentation cleanup and a quote style fix in the operations package.

  • Changed UseFragmentResult from a generic with conditional TCompleted parameter to a discriminated union based on the complete property
  • Simplified and condensed documentation comments throughout useFragment.ts
  • Updated quote style in operations package export

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/core/src/composables/useFragment.ts Refactored type definition to use discriminated union and streamlined documentation
packages/operations/src/codegen/index.ts Changed export statement from single to double quotes
.changeset/slow-months-camp.md Added changeset entry documenting the fix

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@guendev guendev merged commit 0ad36d6 into main Oct 21, 2025
3 checks passed
@guendev guendev deleted the fix-9 branch October 25, 2025 18:07
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.

2 participants