Skip to content

Commit 06ac7cb

Browse files
github-actions[bot]swallez
authored andcommitted
Make SpanQuery non exhaustive, as they can be extended with plugins (#2509) (#2510)
(cherry picked from commit 792195a) Co-authored-by: Sylvain Wallez <[email protected]>
1 parent 6583f8a commit 06ac7cb

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
@@ -76,7 +76,10 @@ export class SpanWithinQuery extends QueryBase {
7676
little: SpanQuery
7777
}
7878

79-
/** @variants container */
79+
/**
80+
* @variants container
81+
* @non_exhaustive
82+
*/
8083
export class SpanQuery {
8184
span_containing?: SpanContainingQuery
8285
field_masking_span?: SpanFieldMaskingQuery

0 commit comments

Comments
 (0)