Bug Description
The initialData field is not used, so I can't set a initialData if the collection is being created. Looking at the code, the option is accepted but its never used.
Reproduction Steps
- Make a simple project
- Create a collection with
initialData and a static id
- Try a read the id
- See it returning null
Expected Behavior
Makes the initial data into the local file.
Actual Behavior
Creates folders, but doesn't populate a document with the initial data.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- OS: Arch Linux
- Node.js version: v18.20.8
- Bun version: N/A
- Jason version: 1.6.6
Bug Description
The
initialDatafield is not used, so I can't set a initialData if the collection is being created. Looking at the code, the option is accepted but its never used.Reproduction Steps
initialDataand a static idExpected Behavior
Makes the initial data into the local file.
Actual Behavior
Creates folders, but doesn't populate a document with the initial data.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment