refactor(core): rename queryCreate to viewQueryCreate

In the end we need to distinguish between view and content query
creation and need separate names for those instructions.
This commit is contained in:
Pawel Kozlowski
2023-07-03 17:56:58 +02:00
committed by Paul Gschwendtner
parent bd23af0639
commit 18ea007390
2 changed files with 2 additions and 2 deletions
@@ -26,5 +26,5 @@ export {
} from './render3/reactivity/effect';
export {InputSignal, ɵɵGetInputSignalWriteType, ModelSignal} from './render3/reactivity/input_signal';
export {input} from './render3/reactivity/input';
export {viewChild, viewChildren, ɵɵqueryCreate} from './render3/reactivity/queries';
export {viewChild, viewChildren, ɵɵviewQueryCreate} from './render3/reactivity/queries';
// clang-format on
@@ -80,7 +80,7 @@ export class ChildrenQuerySignalImpl<T> extends QuerySignal<T> {
}
// THINK: code duplication for predicate, flags etc.? Or would it be extracted by the compiler?
export function ɵɵqueryCreate<T>(
export function ɵɵviewQueryCreate<T>(
target: Signal<T|undefined>, predicate: ProviderToken<unknown>|string[], flags: QueryFlags,
read?: any) {
const lView = getLView();