"next" should be an optional field in JSON choices
- Langage dominant
- TypeScript
- Étoiles
- 2
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- json, typescript
- Domaine
- game-dev
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 50/100