Skip to content

WeBWorK 3 backend to-do list #110

@drdrew42

Description

@drdrew42
  • [PS] refactor relationships for plural/singular relation names
  • [PS] update all instances of validation to use new Validation.pm
  • use ->insert wherever ->new(...) is used for row creation
  • add fetch_with_defaults as an alias for discard_changes and employ everywhere add_to_$rel is used
  • [PS] eliminate dependency on List::MoreUtils (firstval)
  • [AP] update all $self to use more appropriate naming convention
  • [GR] switch tests in t/db to use Test2::V0
  • [AP] Instead of throwing errors on fields not in the DB, filter out non-existent fields. This is done in ResultSet::UserSet::addUserSet
  • [PS] DeleteXXXX in ResultSet classes should return 200 OK and the tests should check to make sure that the XXX was deleted.
  • resolve UserProblem problem_version (nullable with default value?) add uniqueness on user+problem+version
  • Attempt field comments is a JSON column?
  • Include a created_date and updated_date field in each table
  • Uniformize test checking of boolean fields (and update DB to ensure proper booleans on create/update/fetch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions