Skip to content

Extract shared client DTO validation #6

@gentamura

Description

@gentamura

Summary

The CLI currently implements runtime guards (e.g. ) to validate API responses against DTO shapes. Once we add more clients (e.g. web), we should extract these JSON/DTO validators into a shared package (potentially ) instead of inlining them per client.

Context

  • DTO types live in
  • Runtime validation lives inside the CLI today
  • A shared package would prevent duplication when new clients arrive

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