Skip to content

Refactor the frontend data fetching functions to allow for failures #7

@DemonusPC

Description

@DemonusPC

Right now the data functions are operating on the assumption that the data will always return. This is of course not always correct. This issue proposes:

  • Adding a wrapper interface to all data fetching functions. (Generic)
  • The wrapper should indicate if request was successful or not
  • The functions should be updated so that they do return a failure state
  • Update downstream components to account for failure and success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions