Depends on: #100
The codegen with exposeQueryKeys: true generates query key constants for each operation. We should use these instead of the hand-written bountyKeys factory.
Tasks
Acceptance Criteria
- Single source of truth for query keys (codegen)
- All cache invalidation uses generated keys
Depends on: #100
The codegen with
exposeQueryKeys: truegenerates query key constants for each operation. We should use these instead of the hand-writtenbountyKeysfactory.Tasks
generated.tsbountyKeysinlib/query/query-keys.tswith re-exports fromgenerated.tsprefetch.tsto use the generated keysAcceptance Criteria