Skip to content

Clean up DAO #77

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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