Skip to content

Replace ValidationResult | str with a ValidationOutcome type #176

Closed

Description

@alexhambley

Issue

Right now, validation functions return ValidationResult | str (which is a string on error), so this means that every caller must isinstance(result, str) to detect any failures, and an error string is indistinguishable by type to a real result.

Activity

  1. added a commit that references this issue on Jun 16, 2026
    ef93bdd
  2. added
    enhancement
    on Jun 16, 2026
  3. removed
    enhancement
    on Jun 16, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions