re-factor ArgumentToPSVersionTransformationAttribute#16797
re-factor ArgumentToPSVersionTransformationAttribute#16797JamesWTruher wants to merge 3 commits intoPowerShell:masterfrom
Conversation
…ransformationAttribute.
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
|
I have a concern on supporting
|
|
As for the build break, here is PR to fix that: #16800. (the |
I agree that it is a little unnatural, however I think that is overweighed by not having duplicated code, which I think is more important than a slight unnaturalness in usage. |
If there is a PR to address the build break, then this PR can be rejected. We don't need to do the re-factor |
|
closing in favor of #16800 |
PR Summary
This attribute is multiply defined in multiple places, this PR re-factor is the code to have only one definition.
PR Context
This should fix the build break when creating nuget packages.
One side effect of this PR is that the cmdlet
set-strictmodewill supportset-strictmode -version off.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).