Ignoring seedCount?

iv set seedcount to 1 in each entity but it's still seeding 50 how to fix this?
3 Replies
MURO⚡
MURO⚡OP5mo ago
iv fixed it with a temp solution, altering; exports.DEFAULT_SEED_COUNT = 1;
brunobuddy
brunobuddy5mo ago
Hello @MURO⚡ I did not manage to reproduce the issue, see my Stackblitz reproduction: https://stackblitz.com/edit/mnfst-manifest-d3fvdcix?file=manifest%2Fbackend.yml Running "npm run manifest:seed" currently seeds 1 item. It should not be necessary to change this kind of variable:
entities:
Pokemon 🐉:
seedCount: 1
properties:
- name
- {
name: type,
type: choice,
options: { values: [Fire, Water, Grass, Electric] }
}
- { name: level, type: number }
belongsTo:
- Trainer
entities:
Pokemon 🐉:
seedCount: 1
properties:
- name
- {
name: type,
type: choice,
options: { values: [Fire, Water, Grass, Electric] }
}
- { name: level, type: number }
belongsTo:
- Trainer
Bruno
StackBlitz
Manifest Main Demo Example (forked) - StackBlitz
Run official live example code for Manifest Main Demo, created by Mnfst on StackBlitz
MURO⚡
MURO⚡OP5mo ago
hmm weird, i use seedCount the same way in backend.yml

Did you find this page helpful?