angular/packages/core/src/render3
Cédric Exbrayat 76790a63de fix(core): improve the missing control flow directive message (#46903)
Similarly to what has been done in #46846 for the extended diagnostics about missing control flow directive that was only mentioning that the `CommonModule` should be imported, this commit improves the validation done by the JiT compiler.
Now that the control flow directives are available as standalone, the message mentions that directive itself can be imported.

The message now also mentions which import should be used for the directive (as it can be tricky to figure out that `NgForOf` is the directive corresponding to `*ngFor`).

PR Close #46903
2022-07-21 08:27:31 +00:00
..
features docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
i18n refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
instructions fix(core): improve the missing control flow directive message (#46903) 2022-07-21 08:27:31 +00:00
interfaces docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
jit fix(core): deduplicate imports of standalone components in JIT compiler (#46439) 2022-06-21 12:41:16 -07:00
styling refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
util refactor(core): remove experimental Renderer3 abstraction (#46605) 2022-06-30 09:04:56 -07:00
assert.ts fix(core): properly move embedded views of dynamic component's projectable nodes (#37167) 2021-02-10 11:03:06 -08:00
bindings.ts refactor(core): remove duplicated code in change_detection_util (#45599) 2022-04-12 22:26:09 +00:00
CODE_GEN_API.md refactor(ivy): Move instructions back to ɵɵ (#30546) 2019-05-20 16:37:47 -07:00
collect_native_nodes.ts fix(core): properly move embedded views of dynamic component's projectable nodes (#37167) 2021-02-10 11:03:06 -08:00
component.ts refactor(core): annotate ComponentMirror object fields as readonly (#46685) 2022-07-14 18:52:37 +00:00
component_ref.ts refactor(core): move the code to avoid circular dependencies (#46685) 2022-07-14 18:52:37 +00:00
context_discovery.ts feat(core): support TypeScript 4.7 (#45749) 2022-04-29 12:19:45 -04:00
definition.ts refactor(core): minor ComponentDef improvements (#46093) 2022-06-02 13:41:27 -07:00
definition_factory.ts refactor(compiler): move factory out of injector definition (#41022) 2021-03-08 15:31:30 -08:00
di.ts feat(core): support TypeScript 4.7 (#45749) 2022-04-29 12:19:45 -04:00
di_setup.ts refactor(compiler-cli): reorganize importProvidersFrom to avoid cycles (#45687) 2022-04-20 16:01:55 -07:00
errors.ts feat(core): add createComponent function (#46685) 2022-07-14 18:52:37 +00:00
errors_di.ts refactor(core): tree-shake away a DI error message string in prod bundles (#45994) 2022-05-16 10:04:57 -07:00
fields.ts refactor: remove ɵloc and related code (#43913) 2021-10-28 11:19:12 -07:00
global_utils_api.ts feat(core): introduce getDirectiveMetadata global debugging utility (#41525) 2021-04-13 16:06:32 -07:00
hooks.ts perf(core): add private hooks around user code executed by the runtime (#41255) 2021-04-02 10:34:23 -07:00
index.ts refactor(core): move the code to avoid circular dependencies (#46685) 2022-07-14 18:52:37 +00:00
metadata.ts refactor(compiler-cli): use ngDevMode guard for setClassMetadata call (#39987) 2020-12-10 13:23:13 -08:00
namespaces.ts fix(core): consistently use namespace short name rather than URI (#44766) 2022-01-21 11:19:30 -08:00
ng_module_ref.ts refactor(core): NgModuleRef should not implement EnvironmentInjector interface (#46896) 2022-07-20 08:49:15 -07:00
node_assert.ts ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
node_manipulation.ts refactor(core): remove experimental Renderer3 abstraction (#46605) 2022-06-30 09:04:56 -07:00
node_manipulation_i18n.ts refactor(core): remove experimental Renderer3 abstraction (#46605) 2022-06-30 09:04:56 -07:00
node_selector_matcher.ts refactor(core): Change TName.tagName to a more generic value name. (#39233) 2020-10-21 18:33:00 -07:00
PERF_NOTES.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
pipe.ts refactor(core): export missing util function (#46274) 2022-06-06 11:35:25 -07:00
profiler.ts perf(core): add private hooks around user code executed by the runtime (#41255) 2021-04-02 10:34:23 -07:00
pure_function.ts fix(core): Store the currently selected ICU in LView (#38345) 2020-08-10 12:41:17 -07:00
query.ts refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
state.ts refactor(core): clean up closure deoptimization (#46149) 2022-06-02 13:39:50 -07:00
STORING_METADATA_IN_D.TS.md docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
TREE_SHAKING.md docs(ivy): add feature principle doc (#21565) 2018-01-17 17:01:09 -08:00
VIEW_DATA.md refactor(core): Replace ExpandoInstructions with HostBindingOpCodes (#39301) 2020-10-22 09:35:48 -07:00
view_engine_compatibility_prebound.ts feat(core): add support for Types in ViewContainerRef.createComponent (#43022) 2021-09-29 13:49:13 -07:00
view_ref.ts refactor(common): align tree shakable error messages to new format (#46370) 2022-06-15 14:05:54 -07:00