Skip to content

[BUG] Default Timestamp Generation #19

@orianamadison

Description

@orianamadison

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?

Local Dev

Version of BioDrop (for example "v1.2.3")

v1.2.3

Description

In both the LinkStats and ProfileStats schemas, using default: new Date directly may lead to inconsistencies (especially in tests) if the default is evaluated at schema definition time rather than per document creation.

Steps to Reproduce

If you know the steps, follow the below format and provide steps to reproduce

  • Check the LinkStats and ProfileStats schemas

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response

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