Skip to content

[BUG] initialData property not working as expected #11

Description

@stauersbol

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

  1. Make a simple project
  2. Create a collection with initialData and a static id
  3. Try a read the id
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions