mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
fix: filter tags override inherited type tags
This commit is contained in:
@@ -29,7 +29,8 @@ export interface AggArray {
|
||||
}
|
||||
type Foo = 'A' | 'B' | 'C';
|
||||
|
||||
export const aggArrayTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Aggregation tag should propagate on arrays',
|
||||
name: ThingType.AggArray,
|
||||
agg: {
|
||||
fields: ['array'],
|
||||
@@ -30,7 +30,8 @@ export interface AggGlobalNested {
|
||||
type: ThingType.AggGlobalNested;
|
||||
}
|
||||
|
||||
export const aggGlobalNestedTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Global aggregations when nested',
|
||||
name: ThingType.AggGlobalNested,
|
||||
agg: {
|
||||
globals: ['foo'],
|
||||
@@ -28,7 +28,8 @@ export interface AggGlobal {
|
||||
type: ThingType.AggGlobal;
|
||||
}
|
||||
|
||||
export const aggGlobalTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Global option should work',
|
||||
name: ThingType.AggGlobal,
|
||||
agg: {
|
||||
globals: ['foo'],
|
||||
@@ -31,7 +31,8 @@ interface Foo {
|
||||
bar: string;
|
||||
}
|
||||
|
||||
export const aggInheritedGlobalTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Inherited global aggregations should work',
|
||||
name: ThingType.AggInheritedGlobal,
|
||||
agg: {
|
||||
globals: ['bar'],
|
||||
@@ -36,7 +36,8 @@ interface Foo {
|
||||
bar: string;
|
||||
}
|
||||
|
||||
export const aggInheritedOverwrittenTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Inherited aggregations should work when overwritten',
|
||||
name: ThingType.AggInherited,
|
||||
agg: {
|
||||
fields: ['bar'],
|
||||
@@ -31,7 +31,8 @@ interface Foo {
|
||||
bar: string;
|
||||
}
|
||||
|
||||
export const aggInheritedTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Inherited aggregations should work',
|
||||
name: ThingType.AggInherited,
|
||||
agg: {
|
||||
fields: ['bar'],
|
||||
@@ -30,7 +30,8 @@ export interface AggNested {
|
||||
type: ThingType.AggNested;
|
||||
}
|
||||
|
||||
export const aggNestedTest: MapAggTestOptions = {
|
||||
export const testConfig: MapAggTestOptions = {
|
||||
testName: 'Should work on nested properties',
|
||||
name: ThingType.AggNested,
|
||||
agg: {
|
||||
fields: ['nested.foo'],
|
||||
Reference in New Issue
Block a user