File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
packages/graphql/lib/schema-builder/collections Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- export class ArrayCollection < T > {
1
+ export class ArrayWithGlobalCacheCollection < T > {
2
2
private readonly array : T [ ] = [ ] ;
3
3
4
4
constructor ( private globalArray : Array < T > ) { }
Original file line number Diff line number Diff line change 1
1
export * from './metadata.storage.collection.list' ;
2
2
export * from './field-directive.collection' ;
3
- export * from './array.collection' ;
3
+ export * from './array-with-global-cache .collection' ;
4
4
export * from './metada.collection.model.interface' ;
5
5
export * from './metadata-by-name.collection' ;
6
6
export * from './metadata-list-by-name.collection' ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
import { MetadataListByNameCollection } from './metadata-list-by-name.collection' ;
12
12
import { FieldDirectiveCollection } from './field-directive.collection' ;
13
13
import { ObjectTypeMetadata } from '../metadata/object-type.metadata' ;
14
- import { ArrayCollection } from './array.collection' ;
14
+ import { ArrayWithGlobalCacheCollection } from './array-with-global-cache .collection' ;
15
15
import { MetadataCollectionModelInterface } from './metada.collection.model.interface' ;
16
16
17
17
export class MetadataStorageCollection {
@@ -24,10 +24,10 @@ export class MetadataStorageCollection {
24
24
new MetadataListByNameCollection < PropertyExtensionsMetadata > (
25
25
this . all . fieldExtensions ,
26
26
) ;
27
- classDirectives = new ArrayCollection < ClassDirectiveMetadata > (
27
+ classDirectives = new ArrayWithGlobalCacheCollection < ClassDirectiveMetadata > (
28
28
this . all . classDirectives ,
29
29
) ;
30
- classExtensions = new ArrayCollection < ClassExtensionsMetadata > (
30
+ classExtensions = new ArrayWithGlobalCacheCollection < ClassExtensionsMetadata > (
31
31
this . all . classExtensions ,
32
32
) ;
33
33
You can’t perform that action at this time.
0 commit comments