Skip to content

Table query options

View as Markdown

Sapporta’s generated-table query surface has two independent responsibilities:

  • Read functions and query options covers direct fetch functions, lossless query serialization, TanStack Query option builders, row decoders, cancellation, and exported types.
  • Cache keys and ownership covers the key hierarchy, invalidation scope, non-normalized record/page caches, TGrid reloads, and the boundary between server and form state.

New projects mount one application QueryClientProvider. Feature modules reuse that client and compose the public query options rather than creating a screen-local provider.