Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't unwrap wrapped DataObject inner data store (#12800) #12806

Open
wants to merge 1 commit into
base: release/9.0
Choose a base branch
from

Conversation

JeremyKuhne
Copy link
Member

@JeremyKuhne JeremyKuhne commented Jan 18, 2025

Ports #12800, do NOT squash

When creating a DataObject from another DataObject we need to keep the original DataObject as the "inner" data so that virtuals get called as they historically have.

Fixes #12789

Microsoft Reviewers: Open in CodeFlow

When creating a DataObject from another DataObject we need to keep the original DataObject as the "inner" data so that virtuals get called as they historically have.

Also pass through to correct overload on TryGetDataCore.

Fixes dotnet#12789
@JeremyKuhne JeremyKuhne requested a review from a team as a code owner January 18, 2025 00:48
@JeremyKuhne JeremyKuhne added the Servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria label Jan 18, 2025
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 97.14286% with 2 lines in your changes missing coverage. Please review.

Project coverage is 74.83608%. Comparing base (69636da) to head (2bfb292).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/9.0      #12806         +/-   ##
=====================================================
+ Coverage     74.83554%   74.83608%   +0.00054%     
=====================================================
  Files             3022        3022                 
  Lines           630413      630478         +65     
  Branches         46798       46800          +2     
=====================================================
+ Hits            471773      471825         +52     
- Misses          155258      155266          +8     
- Partials          3382        3387          +5     
Flag Coverage Δ
Debug 74.83608% <97.14286%> (+0.00054%) ⬆️
integration 18.01827% <0.00000%> (+0.00096%) ⬆️
production 47.86414% <100.00000%> (-0.00461%) ⬇️
test 97.00179% <97.10145%> (+0.00002%) ⬆️
unit 44.89865% <100.00000%> (-0.00394%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@Tanya-Solyanik Tanya-Solyanik added the 🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 * NO-MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) Servicing-consider .NET Shiproom label indicating a PR seeks to enter into a branch under Tell-Mode criteria
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants