Skip to content

Conversation

@daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Jul 14, 2017

Fix #4232

Enable the DataRow/DataRowView adapters in PowerShell Core by moving the implementation from ExtraAdapter.cs to CoreAdapter.cs.
Add basic tests too.

@daxian-dbw daxian-dbw requested a review from TravisEz13 July 14, 2017 21:13
@daxian-dbw daxian-dbw self-assigned this Jul 14, 2017
/// <summary>
/// Deals with DataRow objects
/// </summary>
internal class DataRowAdapter : PropertyOnlyAdapter
Copy link
Member

Choose a reason for hiding this comment

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

Why don't we follow the one class per file practice?

Copy link
Member Author

Choose a reason for hiding this comment

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

Core adapters have always been in the same file. Some of them were moved to ExtraAdapter.cs previously due to missing the corresponding type in CoreCLR. Now we are gradually moving them back.

Copy link
Member

Choose a reason for hiding this comment

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

The question is more about the project in general.

@daxian-dbw daxian-dbw merged commit 069c7a4 into PowerShell:master Jul 17, 2017
@daxian-dbw daxian-dbw deleted the adapters branch July 17, 2017 18:27
@MaximoTrinidad
Copy link

Hi @daxian-dbw

Any idea when can I test this change? Looking forward to give it a shot.
:)

Thanks,

@daxian-dbw
Copy link
Member Author

@MaximoTrinidad The release of beta.5 will on 8/3. But you can build powershell locally to verify the fix.

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.

4 participants