Skip to content

Conversation

@kisk23
Copy link

@kisk23 kisk23 commented Jan 27, 2026

🎯 Changes

  • Forward the structuralSharing option from QueryCollectionConfig to the underlying QueryObserver.
  • Removes the hard-coded default and allows consumers to control TanStack Query structural sharing behavior.
  • Adds a regression test verifying the option is forwarded correctly.

✅ Checklist

  • [✓ ] I have followed the steps in the Contributing guide.
  • [✓ ] I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • [ ✓] This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2026

🦋 Changeset detected

Latest commit: 7434ec1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack/query-db-collection Patch

Not sure what this means? Click here to learn what changesets are.

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

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