-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: serialize queryKey
#9308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: serialize queryKey
#9308
Conversation
View your CI Pipeline Execution ↗ for commit fbd2888.
☁️ Nx Cloud last updated this comment at |
expect(serializeDataMock).toHaveBeenCalledTimes(1) | ||
expect(serializeDataMock).toHaveBeenCalledWith(0) | ||
|
||
expect(deserializeDataMock).toHaveBeenCalledTimes(1) | ||
expect(deserializeDataMock).toHaveBeenCalledWith(0) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these as the test isn't about whether if serialization is about and the amount of times the mock gets called doubled so it gets a bit weird and unintuitive anyway
Serialize query keys
Should fix trpc/trpc#6802