Skip to content

Commit 792195a

Browse files
authored
Make SpanQuery non exhaustive, as they can be extended with plugins (#2509)
1 parent 4718254 commit 792195a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

output/schema/schema.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/query_dsl/span.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ export class SpanWithinQuery extends QueryBase {
128128
little: SpanQuery
129129
}
130130

131-
/** @variants container */
131+
/**
132+
* @variants container
133+
* @non_exhaustive
134+
*/
132135
export class SpanQuery {
133136
/**
134137
* Accepts a list of span queries, but only returns those spans which also match a second span query.

0 commit comments

Comments
 (0)