angular/packages/core
Paul Gschwendtner d0a71a33b1 refactor(migrations): check inheritance in signal queries migration (#57854)
Notably the inheritance checking is less complete as the one in the
input migration. That is because we can't efficiently determine query
fields in the analyze phase of compilation units. Unless we aggresively
consider every field of decorated classes as queries and complexify
the merged metadata significantly, we can't reliably check for cases
where a class is incompatible for migration because it overrides a
member from a class that is in a different compilation unit.

This is an acceptable limitation though (maybe for now), as worst case,
we would migrate the class and the other compilation unit would simply
break. Not ideal, but migrations are impossible to be 100% correct in
general— so not a surprise.

In the future, we may find ways to identify queries more reliably in
analyze phase already. e.g. if the compiler were to include this
metadata in the `.d.ts`, or if we decide to simply add this to the
metadata, accepting potential significant HDD increase.

PR Close #57854
2024-09-18 09:45:20 +02:00
..
global docs(docs-infra): Add dev-mode only mention for core/global (#57365) 2024-08-29 10:17:35 -07:00
primitives fix(core): Do not bubble capture events. (#57476) 2024-08-23 14:46:54 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop fix(core): tree shake dev mode error message (#57035) 2024-07-22 10:49:18 -07:00
schematics refactor(migrations): check inheritance in signal queries migration (#57854) 2024-09-18 09:45:20 +02:00
src fix(core): Handle @let declaration with array when preparingForHydration (#57816) 2024-09-17 16:29:39 +02:00
test feat(core): Add async run method on ExperimentalPendingTasks (#56546) 2024-09-13 11:10:08 +02:00
testing fix(core): Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416) 2024-08-27 13:12:44 -07:00
BUILD.bazel refactor(compiler-cli): Do extract symbols from private modules. (#57611) 2024-09-06 14:15:18 +00:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update zone.js peer dependency for core package to 0.15.0 (#57431) 2024-08-21 13:17:52 -07:00
PACKAGE.md
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00