You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 default hashKey. I can provide my own hashKey implementation using queryKeyHashFn but there is no similar option for mutation keys. If you're cool with it I'll provide a PR adding the mutationKeyHashFn following the same patterns and tests used by the queryKeyHashFn implementation.
@TkDodo tagging you since you've been quite quick responding to these previously and I'm willing to put up a PR.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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