tRPCttRPC
Powered by
DavidD
tRPC•12mo ago•
2 replies
David

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

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

Really like this integration update btw 🙂
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

useUtils().setQueriesData should not take input as param.
flodlcFflodlc / ❓-help
2y ago
Get specific type of mutation as function arg
Answer OverflowAAnswer Overflow / ❓-help
2y ago
procedure.input(z.object) is inferred as a partial (optional fields)?
medv ❄Mmedv ❄ / ❓-help
3y ago
Subscription example not behaving like it should
kalempsterKkalempster / ❓-help
2y ago