fix(umodel): surface authoring warnings during validation - #98
fix(umodel): surface authoring warnings during validation#98Chloride233 wants to merge 1 commit into
Conversation
qiansheng91
left a comment
There was a problem hiding this comment.
Summary
Reviewed PR #98: fix(umodel): surface authoring warnings during validation
The changes appear reasonable. No critical issues found in the diff.
Automated review by github-manager-bot
|
Issue Evaluation Category: Thank you for reporting this issue. The reported behavior is being reviewed against the current codebase. Next Steps:
Automated evaluation by github-manager-bot |
|
Issue Evaluation Category: Thank you for reporting this issue. It has been classified as a potential bug and is being reviewed against the current codebase. A deeper verification will be performed. If confirmed as a valid bug, an automated fix proposal may be generated. Automated evaluation by github-manager |
Summary
Service.Validatenow surfaces warning-only authoring hints for UModel elements that are schema-valid but may be less useful for downstream writes, filters, query display, or topology traversal.The hints are intentionally narrow:
entity_setwithoutspec.fieldsgets a schema-guidance warning.metric_setmetrics without bothunitanddata_formatget a display-formatting warning.entity_set_linktypes prefixed withcandidate_ormaybe_get a provisional-link warning.These warnings reuse the existing
ValidationResult.Warningsfield and do not reject model elements.What stays unchanged
related_toare not warned.data_formatbut nounitare not warned.Test plan