Skip to content

Conversation

@MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Apr 12, 2023

Modifies the DictionaryCloneHelper's Clone() method to keep track of cloned objects in order to avoid recursively cloning an object afresh that's already been cloned using reflection. This reduces circular dependencies caused by recursion that lead to StackOverflowExceptions.

related #1212

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should reduce the risk but I'm not sure it'll entirely fix it. I'm ok with trying it though.
Can we also bump the preview version to unblock the pending pr please?

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@MaggieKimani1 MaggieKimani1 merged commit 2acc209 into vnext Apr 12, 2023
@MaggieKimani1 MaggieKimani1 deleted the mk/fix-cloning-stackoverflow-exception branch April 12, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants