Skip to content

Clean up DAO #77

@CoderTobi

Description

@CoderTobi
  • Add JSDoc to the functions
  • Maybe use objects instead of so many parametrs?
  • Make date handling consistent (either use strings or DateTime objects throughout the DAO)
    Create uses DateTime objects, Update uses strings
    Strings is probably better because the validation middleware uses strings
  • change var to let (see change var to let #76 )
  • Maybe change it that the DAO ensures the result is an array instead of the service
  • Maybe move extendPlantJSON to DAO and clean it up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions