refactor: re-enable dynamic queries migration (#32992)
Re-enables the dynamic queries migration, now that we have all of the necessary framework changes in place. Also moves the logic that identifies static queries out of the compiler and into the static queries migration, because that's the only place left that's using it. PR Close #32992
This commit is contained in:

committed by
Alex Rickabaugh

parent
94b9b7e154
commit
7f6429d802
@ -5,7 +5,6 @@ ts_library(
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.ts"]),
|
||||
data = [
|
||||
"test-migrations.json",
|
||||
"//packages/core/schematics:migrations.json",
|
||||
],
|
||||
deps = [
|
||||
|
@ -20,7 +20,7 @@ describe('dynamic queries migration', () => {
|
||||
let previousWorkingDir: string;
|
||||
|
||||
beforeEach(() => {
|
||||
runner = new SchematicTestRunner('test', require.resolve('./test-migrations.json'));
|
||||
runner = new SchematicTestRunner('test', require.resolve('../migrations.json'));
|
||||
host = new TempScopedNodeJsSyncHost();
|
||||
tree = new UnitTestTree(new HostTree(host));
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"schematics": {
|
||||
"migration-v9-dynamic-queries": {
|
||||
"version": "9-beta",
|
||||
"description": "Removes the `static` flag from dynamic queries.",
|
||||
"factory": "../migrations/dynamic-queries/index"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user