Name where a misplaced sql-server config key belongs in its schema error

Đang mở
#21,048 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
tooling

Hướng nghiên cứu

Start in the sql-server plugin's config schema validation and setup check, then locate the existing unit and setup tests for schema errors. Trace how unknown properties and invalid enum values are reported. Done when misplaced limits identify a valid location, invalid enum values suggest the closest allowed value, and setup check displays the same hint; verify with the named unit and setup tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

User story

As a person writing a sql-server config, I want a schema error for a misplaced or misspelled key to say where the key belongs or which value is closest, so I fix it in one step. Today a per-environment limit placed under the top-level limits block fails as unknown property with no hint, and an invalid enum value such as "on" for scripts.mode names only the allowed values.

Acceptance criteria

  • A per-environment limit under top-level limits fails with a message naming defaults or environments.<name>.limits as its place (unit test).
  • An invalid enum value names the closest allowed value (unit test).
  • setup check prints the same hint (setup test).

Affected area / component

plugins/sql-server: config schema validation and setup check

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
3 giờ 20 phút
Pull request đã merge (30 ngày)
956

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.