Skip to content

Conversation

@Anaethelion
Copy link
Contributor

Related to 5828dc9 we wrap the propagated error such that the message become:

failed to parse SparseVectorQuery, reason: cannot determine type of query, got: String

@Anaethelion Anaethelion requested a review from a team June 24, 2024 14:29
@Anaethelion Anaethelion marked this pull request as ready for review June 25, 2024 09:10
@Anaethelion Anaethelion merged commit a75b7c7 into main Jun 25, 2024
@Anaethelion Anaethelion deleted the improve_compiler_errors_on_types branch June 25, 2024 09:11
@kderusso
Copy link
Member

Thanks for taking care of this!

kderusso pushed a commit that referenced this pull request Jun 25, 2024
* wrap ts-morph errors to provide helpful error

* improve after lint
kderusso added a commit that referenced this pull request Jun 26, 2024
…n for text_expansion and weighted_tokens queries (#2642)

* Add sparse_vector query to client specification

* Fix error and update contrib

* PR feedback

* Populate endpoint deprecation from request definition (#2640)

* Update specification output

* Wrap ts-morph errors to provide helpful error (#2644)

* wrap ts-morph errors to provide helpful error

* improve after lint

* Bump braces from 3.0.2 to 3.0.3 in /typescript-generator (#2645)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Query Rules] Update Query Rules API for 8.15 (#2639)

* Mark existing query rules APIs as GA

* Add individual CRUD API calls

* Linting

* PR feedback

* PR feedback

* Update specification output

* Update output

* Update output

* Fix variant annotations for SparseVectorQuery

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Florian Bernd <git@flobernd.de>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Laurent Saint-Félix <laurent.saintfelix@elastic.co>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants