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
The non-generic QueryOptions class can now be implicitly cast to QueryOptions<TArg, TResult>.
New DataChanged event for queries, which is triggered whenever the Data property changes.
Changed
BREAKING CHANGE: If a query succeeds and then fails on a refetch, query.Data now returns null/default, instead of the old data. Also, query.LastData now returns the data from the last successful request (even if the arg was different) instead of null/default.
QueryOptions.OnSuccess is now called when a cached result is returned (unless it's stale). Note: EndpointOptions.OnSuccess is unchanged, and still won't be called when a cached result is returned.