Repository navigation
feat(studio): 诊断补 hint,契约检查覆盖 inspect / preview - #5
Merged
Merged
Conversation
Diagnostic 新增可选 hint,通用字段诊断给出下一步修法;契约测试新增 inspect / preview 的确定性、只读与抛错检查,并补 $version 迁移与未知字段 策略的导入测试。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Diagnostic新增可选hint;通用字段诊断(缺失 / 类型 / 范围 / 枚举)补下一步修法。inspect/preview的确定性、只读(不得改写配置)与抛错检查:inspect/*/preview/*。$version迁移与unknownPolicy的导入测试;协议形状只增不改。Test plan
pnpm checkpnpm test(60 passed)pnpm build(attw / publint 通过)说明
跨入口(CLI / 库 API /
export(defaults))的 parity 测试需要 core,按计划落在 core 仓,不在本包。