Skip to content

Conversation

Telomeraz
Copy link
Contributor

Closes #1958

@miguelgrinberg miguelgrinberg merged commit c0aa52a into elastic:main Jan 7, 2025
18 checks passed
@miguelgrinberg miguelgrinberg added the backport 8.x Backport to 8.x label Jan 7, 2025
github-actions bot pushed a commit that referenced this pull request Jan 7, 2025
* Add support for the point field

* add shape field, remove unnecessary point examples

---------

Co-authored-by: Miguel Grinberg <[email protected]>
(cherry picked from commit c0aa52a)
miguelgrinberg added a commit that referenced this pull request Jan 7, 2025
* Add support for the point and shape fields (#1959)

* Add support for the point field

* add shape field, remove unnecessary point examples

---------

Co-authored-by: Miguel Grinberg <[email protected]>
(cherry picked from commit c0aa52a)

* Add shape declaration (#1962)

* Add support for the point field

* add shape field, remove unnecessary point examples

* add missing Shape declaration

---------

Co-authored-by: Hüseyin Emre Armağan <[email protected]>

---------

Co-authored-by: Hüseyin Emre Armağan <[email protected]>
Co-authored-by: Miguel Grinberg <[email protected]>
@miguelgrinberg
Copy link
Collaborator

Thanks! I added Shape to your PR, and also removed the examples that you created, because they could create confusion in the way that you used several different formats and an Any type hint. I would expect most application would stick to a single format and then use an appropriate type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.x Backport to 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for "point" field type
2 participants