DavidD
tRPC13mo ago
2 replies
David

Should `.queryFilter()` not take a partial arg?

Replacing
.invalidate(partialObject)
to
qc.invalidateQueries(trpc.path.queryFilter(partialObject))
doesn't work, since
queryFilter
type isn't partialled. Is this correct behavior? I would imagine the filter could be anything

Really like this integration update btw 🙂
Was this page helpful?