Skip to content

Name invalid optional manifest fields in diagnostics #103

Closed

Description

@LunaStev

Problem

When an optional manifest field such as description, author, or license has the wrong type, Vex reports only that an optional text field must be a string. The user cannot tell which field needs correction.

Acceptance criteria

  • Include the exact invalid field name in the diagnostic.
  • Include the manifest path and the expected string type.
  • Preserve the existing acceptance of omitted optional fields.
  • Add focused tests for invalid description, author, and license values.
  • Keep the diagnostic style consistent with other manifest errors.

This is intentionally scoped to optional package metadata fields.

Activity

  1. added
    bug
    good first issue
    ui/ux
    on Sep 18, 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

    buggood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions