Patch Changes
-
fix: export types used in public API signatures for declaration emit compatibility (#1231)
Types like
SchemaFromSource,MergeContextWithJoinType,WithResult,ResultTypeFromSelect, and others
are used in the public method signatures ofBaseQueryBuilder(e.g.from(),join(),select()) but
were not re-exported from the package's public API. This caused TypeScript error TS2742 when consumers used
declaration: truein their tsconfig, as TypeScript could not name the inferred types in generated.d.tsfiles.Fixes #1012
-
Fix
useLiveInfiniteQuerypeek-ahead detection forhasNextPage. The initial query now correctly requestspageSize + 1items to detect whether additional pages exist, matching the behavior of subsequent page loads. (#1209)Fix async on-demand pagination by ensuring the graph callback fires at least once even when there is no pending graph work, so that
loadMoreIfNeededis triggered aftersetWindow()increases the limit. -
Fix
eq()with Date objects in join conditions andinArray()with Date values in WHERE clauses by normalizing values vianormalizeValue(#934) (#1229)