Skip to content

Conversation

@guendev
Copy link
Owner

@guendev guendev commented Oct 21, 2025

…nd complete data usage

Copilot AI review requested due to automatic review settings October 21, 2025 12:57
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 enhances the JSDoc documentation for the useFragment composable by adding comprehensive examples demonstrating type-safe data access patterns. The changes focus on improving developer experience by showing how to properly handle partial data and leverage TypeScript type narrowing.

Key Changes:

  • Added examples showing both basic usage with optional chaining and recommended type-safe patterns
  • Expanded documentation for the data property with practical examples including a reusable helper pattern
  • Enhanced result property documentation with examples for complete/partial data handling

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

@guendev guendev merged commit 73dd869 into main Oct 21, 2025
3 checks passed
@guendev guendev deleted the fix-20 branch October 25, 2025 18:08
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