-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
When using Tanstack Query alongside DB, the extension of Register here affects all Query uses, leading to widespread type failures due to missing loadSubsetOptions:
error TS2741: Property 'loadSubsetOptions' is missing in type '{ ...: string; }' but required in type 'QueryCollectionMeta'.
138 meta: { source: '...' },
~~~~
../../node_modules/@tanstack/query-db-collection/dist/esm/global.d.ts:18:5 - 'loadSubsetOptions' is declared here.
18 loadSubsetOptions: LoadSubsetOptions;
Extending the shared interface with a required DB-only field seems like the wrong solution.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed