Repository navigation
Conversation
c797d28 把一批后备字段收成了自动属性(含 field 关键字),但只改了声明所在的文件, 同一 partial 类的其它文件仍在用旧字段名 —— Mongo / Redis / S3 插件编译失败(108 个错误)。 - Mongo / Redis:其余 partial 文件里的旧字段名改成对应属性(_rows → Rows、 _selected → SelectedItem、_lastRequest → CurrentRequest、_settings → Settings 等); 这些属性的 getter 都是 get;,读到的值与原字段相同 - GridFsTransfer.Bytes:驱动线程用 Interlocked.Exchange(ref …) 写它,属性取不了 ref,恢复 _bytes 字段 - S3 RemoveConfigAsync:各分支返回的响应类型不同,switch 表达式没有公共类型,还原为 switch 语句 - Redis 测试:两处 [ClassInitialize] 的形参 _ 是具名参数,方法体里新加的 `_ = await …` 成了给它赋值,形参改名 context
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.
修复 main 上 CI 的编译失败(run 37138490382)。
c797d28(format code)把一批后备字段收成了自动属性(含
field关键字),但只改了声明所在的文件,同一 partial 类的其它文件仍在用旧字段名,Mongo / Redis / S3 插件编译失败(108 个错误)。_rows→Rows、_selected→SelectedItem、_lastRequest→CurrentRequest、_settings→Settings等)。这些属性的 getter 都是get;,读到的值与原字段相同。GridFsTransfer.Bytes:驱动线程用Interlocked.Exchange(ref …)写它,属性取不了ref,恢复_bytes字段。RemoveConfigAsync:各分支返回的响应类型不同,switch 表达式没有公共类型,还原为 switch 语句。[ClassInitialize]的形参_是具名参数,方法体里新加的_ = await …成了给它赋值,形参改名context。本地验证
dotnet build VelaShell.Plugins.slnx:0 错误 0 警告Explain_FindAndAggregateParse,在干净的 HEAD 上同样失败(9.0 改了 aggregate explain 的结构)不改行为、接口与配置,velashell-docs 无需同步。