Skip to content

Comments

fix: AppendStrategy.apply method result maybe miss the "newValue"#4212

Open
dingshuangwu wants to merge 2 commits intoalibaba:mainfrom
dingshuangwu:fix/append-strategy
Open

fix: AppendStrategy.apply method result maybe miss the "newValue"#4212
dingshuangwu wants to merge 2 commits intoalibaba:mainfrom
dingshuangwu:fix/append-strategy

Conversation

@dingshuangwu
Copy link

@dingshuangwu dingshuangwu commented Feb 5, 2026

Describe what this PR does / why we need it

The AppendStrategy.apply result miss the newValue when oldValue is not a list object and newValue is a list object.

Does this pull request fix one issue?

Yes, It fixed one issue and optimize a "if-else" logic branch.

Describe how you did it

1.Removed lines 81 and 94, the line 81 always be true because the line 75 is true.
2.Fixed the "newValue" missed logic for line 106

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added the area/graph SAA Grpah module label Feb 5, 2026
…is not a list object and newValue is a list object.
@dingshuangwu dingshuangwu changed the title fix: Optimize AppendStrategy.apply fix: AppendStrategy.apply method miss the "newValue" Feb 12, 2026
@dingshuangwu dingshuangwu changed the title fix: AppendStrategy.apply method miss the "newValue" fix: AppendStrategy.apply method result maybe miss the "newValue" Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/graph SAA Grpah module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant