Deep Cloning
Had to debug an issue that turned out to be an issue deep cloning a complex object that had an IEnumerable list in it. The deep cloning would throw an Exception which was not very descriptive.
The fix was to change the deep cloning and use json serialization.
You can see the first method is good but it caused the issue. The second fixed it and made he a happy coder.
You can see the first method is good but it caused the issue. The second fixed it and made he a happy coder.

No comments:
Post a Comment