Skip to content

refactor(@angular-devkit/architect): remove builder option generic json constraint#20423

Merged
alan-agius4 merged 2 commits intoangular:masterfrom
clydin:architect-json-constraint
Apr 2, 2021
Merged

refactor(@angular-devkit/architect): remove builder option generic json constraint#20423
alan-agius4 merged 2 commits intoangular:masterfrom
clydin:architect-json-constraint

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Mar 31, 2021

The json.JsonObject generic constraint did not force the options type to be a valid JSON object but required all builders to add the json.JsonObject type to all builder option types when calling createBuilder.

@clydin clydin added the target: major This PR is targeted for the next major release label Mar 31, 2021
@google-cla google-cla bot added the cla: yes label Mar 31, 2021
clydin added 2 commits March 31, 2021 20:35
…on constraint

The `json.JsonObject` generic constraint did not force the options type to be a valid JSON object but required all builders to add the `json.JsonObject` type to all builder option types when calling `createBuilder`.
…to a dev dependency

The package's `@angular-devkit/core` dependency is only used in non-test code to provide a single type which is no longer needed with the latest architect.
@clydin clydin force-pushed the architect-json-constraint branch from 1e6e54b to 8b6e939 Compare April 1, 2021 00:35
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Apr 1, 2021
@alan-agius4 alan-agius4 merged commit 4804cb8 into angular:master Apr 2, 2021
@clydin clydin deleted the architect-json-constraint branch April 2, 2021 10:47
@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 May 3, 2021
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: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants