forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): undecorated-classes migration should properly constru…
…ct object literal from metadata (angular#32319) The `undecorated-classes-with-di` migration currently creates invalid object literals from parsed NGC metadata files if there are object literal properties with keys that contain special characters. e.g. consider a decorated base class with a host binding using `[class.X]`. Currently the migration parses and converts the metadata to TypeScript code but incorrectly uses `[class.X]` unquoted as identifier. PR Close angular#32319
- Loading branch information
1 parent
d0f3539
commit 543631f
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters