Replies: 1 comment
-
sorry for the late reply; yeah I think it would be good to have that for consistency 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My keys can contain
bigInt
which isn't JSON serializable. I don't have direct control over the keys since I'm using connect-query-es. These keys are not compatible with the defaulthashKey
. I can provide my ownhashKey
implementation usingqueryKeyHashFn
but there is no similar option for mutation keys. If you're cool with it I'll provide a PR adding themutationKeyHashFn
following the same patterns and tests used by thequeryKeyHashFn
implementation.@TkDodo tagging you since you've been quite quick responding to these previously and I'm willing to put up a PR.
Beta Was this translation helpful? Give feedback.
All reactions