Closed siteassist-benjamin closed 1 year ago
@siteassist-benjamin the createMutationKeys
types are in fact broken, it's a now issue #55 but I didn't have the time yet to fix it. I'll just close the issue as a duplicate of #55, but feel free to add any comments on that issue
We need to access and reuse the
mutationFn
from one of the mutationKeys definitions. However the only property exposed by the library for createMutationKeys is themutationKey
.This is not a problem with the
createQueryKeys
function - see examples below:I have tried looking into where this would need to change but I am a little lost as the typing system is very complex. Any help would be deeply appreciated 🙏