Skip to content

roots return arrays vs objects #185

Open
@HRossouw42

Description

@HRossouw42
  • roots that return arrays vs objects (one root must either return array or object, not both)
  • extract code within switch statements to separate functions
  • things that return arrays can't return 404's
  • returning 200's changed to object or array
  • functions that return arrays should use plural naming + vice versa
  • don't return boolean from a function. should be result or an error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions