-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfrontendFrontend developmentFrontend developmentgraphqlhelp wantedExtra attention is neededExtra attention is neededhigh-priority
Description
The frontend's lib/graphql/schema.graphql is out of sync with the backend's auto-generated schema.gql. The frontend defines types (FEATURE, BUG, CLAIMED, Relay connections) that don't exist on the backend (FIXED_PRICE, MILESTONE_BASED, IN_PROGRESS, offset pagination).
Tasks
- Replace
lib/graphql/schema.graphqlwith the backend's actualschema.gql(or symlink it) - Update
codegen.tsto pointdocumentsat a newlib/graphql/operations/directory (see Issue 2) - Run
npm run codegenand verifygenerated.tsreflects the real backend types - Update the Zod schemas in
lib/api/bounties.tsto match the realBountyStatusandBountyTypeenums - Update any UI components mapping over old enum values (
open/claimed/closed→OPEN/IN_PROGRESS/COMPLETED/etc.)
Acceptance Criteria
npm run codegensucceeds with zero warningsgenerated.tstypes match the backend 1:1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfrontendFrontend developmentFrontend developmentgraphqlhelp wantedExtra attention is neededExtra attention is neededhigh-priority