Skip to content

feat(@angular-devkit/schematics): allow chain rule to accept iterables of rules#23127

Merged
dgp1130 merged 1 commit into
angular:mainfrom
clydin:schematics/chain-iterables
May 24, 2022
Merged

feat(@angular-devkit/schematics): allow chain rule to accept iterables of rules#23127
dgp1130 merged 1 commit into
angular:mainfrom
clydin:schematics/chain-iterables

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented May 12, 2022

Previously, the chain base rule only accepted an Array of schematics rules.
In addition to still allowing an Array, chain now can accept either an Iterable<Rule>
or AsyncIterable<Rule>. This provides support for sync and async generator functions
with the chain rule.

…les of rules

Previously, the `chain` base rule only accepted an `Array` of schematics rules.
In addition to still allowing an `Array`, `chain` now can accept either an `Iterable<Rule>`
or `AsyncIterable<Rule>`. This provides support for sync and async generator functions
with the `chain` rule.
@clydin clydin added the target: minor This PR is targeted for the next minor release label May 12, 2022
@clydin clydin marked this pull request as ready for review May 17, 2022 17:02
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label May 24, 2022
@dgp1130 dgp1130 merged commit 526cdb2 into angular:main May 24, 2022
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants