Extend PowerShell adapter schema generation with validation attributes and type bounds
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
The schema generation for the PowerShell adapter follows from #1775, so start by reading the code that already handles ValidateSet, nullability and NotConfigurable and extend it for ValidateRange, ValidateLength, ValidateCount and ValidatePattern. Add boundary and invalid-input cases alongside the existing schema tests. Done means the new mappings are covered by tests and any constraint that cannot be expressed faithfully is documented rather than approximated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary of the new feature / enhancement
Follow-up to #1775: schemas recognize ValidateSet, explicit nullability, and NotConfigurable, but do not yet express other validation attributes, formats, or numeric storage bounds. Improve metadata-aware validation without rejecting valid PowerShell input/output representations.
Proposed technical implementation details (optional)
Evaluate mappings for ValidateRange, ValidateLength, ValidateCount, and ValidatePattern, plus formats for known string-backed types and min/max bounds for numeric types. Match short, qualified, and Attribute-suffixed names consistently. Account for arrays, nullable types, culture, integer precision, and differences between .NET regex and portable JSON Schema patterns. Keep changes aligned across modern and Windows PowerShell and add boundary/invalid-input cases. Document constraints that cannot be represented faithfully rather than inventing stricter semantics.
- Ngôn ngữ chính
- Rust
- Star
- 545
- Fork
- 82
- Merge trung bình
- 4 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/DSC
-
Issue-Enhancement Needs Triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
PowerShell/DSC#1812 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue-Enhancement Needs Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
PowerShell/DSC#1813 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue-Enhancement Needs Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
PowerShell/DSC#1814 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Schema for adapted resource is not deployedCó thể đã có người làm @michaeltlombardi đã nhận 4 ngày trước. Đang mởIssue-Bug Need-Review
PowerShell/DSC#1801 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Define JSONRPC contract for reusable resourcesCó thể đã có người làm @SteveL-MSFT đã nhận 11 ngày trước. Đang mởIssue-Enhancement Needs Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PowerShell/DSC#1782 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PowerShell/DSC
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Remove full_ui testbedĐang mởA-UI C-Examples C-Refinement D-Straightforward S-Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bevyengine/bevy#26584 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
alunduil/zellij-claude-pair#181 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update djvu-rs from 0.33 to 0.45Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
docling-project/docling.rs#1137 ·
Maintainer thường phản hồi trong vòng 1 ngày