Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message for undefined arrays of objects #1923

Merged

Conversation

jsoriano
Copy link
Member

See #1921.

Arrays of objects are problematic when stored in Elasticsearch, as it doesn't have this concept. The closest thing are nested objects, but they also have some trade offs. So when used in packages, we want package developers to be explicit about the kind of handling they want for these arrays.

This change adds an explicit error about this for better guidance.

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @jsoriano

@jsoriano jsoriano merged commit 74d96b7 into elastic:main Jun 26, 2024
3 checks passed
@jsoriano jsoriano deleted the error-message-undefined-array-of-objects branch June 26, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants