"next" should be an optional field in JSON choices
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
no next => end of the chain
next is mandatory on Choices, we cannot currently end a story with a choice
goal is to fix that
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by locating where `Choice` objects and story JSON are validated or typed in the TypeScript code, especially any rule that marks `next` as required. Then check where the story-chain parser/loader enforces this requirement and identify the minimal place to allow terminal choices. Run the story parsing/validation tests (or the nearest suite covering choices/chain flow) and confirm success for a choice entry that omits `next` and still ends the chain.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- json, typescript
- Bereich
- game-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 50/100