Skip to content

[rel-DB] Improve checker #3221

@vkrasnovyd

Description

@vkrasnovyd
  • Currently most of the values types are verified with the helper methods defined in cheker.py. The place where these methods are called is marked by the first TODO in the file. Desired changes:
    • Definevalidate()methods for all the field types
    • Remove check around the TODO
    • Catch type error from the field.validate() method inside of the check_normal_fields() method and assigned more clear messages (the ones that are currently used in the check after the first TODO)
  • Check code, unreachable because of the validations duplication. Example: second TODO
  • Check spelling in the error messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions