Skip to content

Replace unwrap() with fallible parsing in crates/store/src/draft.rs #6

@bhekanik

Description

@bhekanik

Audit crates/store/src/draft.rs for unwrap() calls in production code and replace them with proper error propagation.

Acceptance criteria:

  • No production unwrap() remains in crates/store/src/draft.rs
  • Invalid UUID/JSON/timestamp data returns sqlx::Error instead of panicking
  • Existing tests still pass or are updated to cover the fallible path

Metadata

Metadata

Assignees

No one assigned

    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