Skip to content

Update lib/query/query-keys.ts to use codegen-generated keys #107

Description

@0xdevcollins

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

  • Review generated key exports from generated.ts
  • Replace bountyKeys in lib/query/query-keys.ts with re-exports from generated.ts
  • Update all hook files and prefetch.ts to use the generated keys
  • Remove redundant hand-written key factories

Acceptance Criteria

  • Single source of truth for query keys (codegen)
  • All cache invalidation uses generated keys

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions