AnyOf/ AllOf script block depreciation
Open
Nobody has claimed this yet.
breaking-change
deprecation
- Dominant language
- C#
- Stars
- 474
- Forks
- 65
- Avg merge
- 22h 25m
- Merged PRs (30d)
- 26
Description
Use of the AnyOf script block keywords doesn't fail fast. All instructions are executed which can lead to unexpected executions when they do not OR.
Also, script block keywords are duplicated with $Assert methods, which provide more flexibility and closer alignment with YAML/ JSON syntax.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the AnyOf and AllOf script block keyword implementations and the corresponding $Assert methods. Compare their execution behavior and syntax, then determine the intended deprecation scope; the issue does not name specific files, tests, or a final replacement plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100