Skip to content

Conversation

@aiiiden
Copy link

@aiiiden aiiiden commented Sep 24, 2025

Problem

Query keys containing bigint values were causing serialization errors when used with TanStack Query's caching mechanism. This happened because JSON.stringify() cannot serialize bigint values directly, leading to runtime errors like:

TypeError: Do not know how to serialize a BigInt

Solution

Updated query key generation functions to use the existing serialize utility function, which properly handles bigint values by converting them to a serializable format before creating query keys.

@changeset-bot
Copy link

changeset-bot bot commented Sep 24, 2025

🦋 Changeset detected

Latest commit: b20ac24

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

This PR includes changesets to release 4 packages
Name Type
@wagmi/core Minor
@wagmi/connectors Major
wagmi Patch
@wagmi/vue 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

@vercel
Copy link

vercel bot commented Sep 24, 2025

@aiiiden is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@jxom jxom force-pushed the main branch 2 times, most recently from 27f0d04 to 7d15f06 Compare September 24, 2025 22:39
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