Skip to content

Commit

Permalink
Merge branch 'v2' into psachs/connect-query-core
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-sachs committed Oct 29, 2024
2 parents 3897dc3 + 0f315a5 commit f198dcb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import type { Transport } from "@connectrpc/connect";
import type {
GetNextPageParamFunction,
QueryFunction,
QueryKey,
SkipToken,
} from "@tanstack/query-core";
import { skipToken } from "@tanstack/query-core";
Expand Down Expand Up @@ -117,7 +116,6 @@ export function createInfiniteQueryOptions<
| SkipToken;
structuralSharing: (oldData: unknown, newData: unknown) => unknown;
initialPageParam: MessageInitShape<I>[ParamKey];
queryKeyHashFn: (queryKey: QueryKey) => string;
} {
const queryKey = createConnectQueryKey({
cardinality: "infinite",
Expand All @@ -141,6 +139,5 @@ export function createInfiniteQueryOptions<
queryKey,
queryFn,
structuralSharing,
queryKeyHashFn: JSON.stringify,
};
}

0 comments on commit f198dcb

Please sign in to comment.