EndpointQueryClient
Class that extends QueryClient and gives a bit more control over endpoint queries and mutations.
ts
import { EndpointQueryClient } from "mobx-tanstack-query-api";API
constructor
Creates EndpointQueryClient with stable query key hashing by default.
invalidateEndpoints
Invalidates endpoint queries using endpoint metadata filters:
endpoint- by specific endpoint instance or list of endpointsnamespace- by endpoint namespacegroup- by endpoint groupoperationId- by operation idtag- by endpoint tagsexclude- exclude endpoints or tags from invalidationpredicate- custom filter callback
