Skip to content

Commit

Permalink
Make SpanQuery non exhaustive, as they can be extended with plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Apr 15, 2024
1 parent 4718254 commit dd6552f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion specification/_types/query_dsl/span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ export class SpanWithinQuery extends QueryBase {
little: SpanQuery
}

/** @variants container */
/**
* @variants container
* @non_exhaustive
*/
export class SpanQuery {
/**
* Accepts a list of span queries, but only returns those spans which also match a second span query.
Expand Down

0 comments on commit dd6552f

Please sign in to comment.