ajv-validator / ajv-validator/ajv-cli

"error: schema is invalid: data/properties/required must be object,boolean" does not give line number

Đang mở
#219 4 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
316
Fork
77
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

None of `--error` options help. I'm not even sure what the actual error is, but a line number would _really_ help.

See also #34 , #111 .

It's possible that `json-source-map` can be used to figure this out somehow (see [here](https://github.com/ajv-validator/ajv-cli/issues/34#issuecomment-299582712)), but I don't know the exact steps. Moreover, needing to jump through additional hoops makes this tool borderline useless to me.

Perhaps adding this functionality to the tool would be possible? For instance, see (at time of this writing, year-old) PR https://github.com/ajv-validator/ajv-cli/pull/189#issue-980783689.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.