-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add PSTypeName Support for Import-Csv and ConvertFrom-Csv #5389
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add:
$importTypes.Count | Should Be $expectedProcessTypes.CountThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move the line before $importTypes[0].
And please add such check in other It.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
@SteveL-MSFT CI Travis don't report status - can PG investigate the issue? |
|
@iSazonov seems to be an ongoing issue with Travis-CI. Looking at the actual results, it passed on both macOS and Linux, so we are good. |
|
@SteveL-MSFT It seems I haven't permission to manually merge - (protected branch hook declined). Or I do something wrong. |
Sorry, something went wrong.
|
@SteveL-MSFT It seems the problem with CI Travis coming from #5249 |
|
@markekraus can you rebase and pick up #5249? |
0d9f62a to
6d5af16
Compare
|
Rebased. |
|
@SteveL-MSFT *shrugs. Rebased and the Travis CI tests passed, but they still are not updating the PR to reflect that. |
|
Merging with macOS still not finished. Talked to other maintainers and we think the risk is low. |
closes #5134
Import-CsvandConvertFrom-CsvA note for reviewers: the logic for adding the type name was moved to after the object's properties are populated to prevent
Cannot add a member with the name "<PorpertyName>" because a member with that name already existserrors during object serialization.