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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect type for mappings.dynamic property #1796
Comments
Quick test reveals that the issue comes from ES side already: > curl -X GET "kibana:changeme@localhost:9200/test_index?pretty" -H 'Content-Type: application/json' So all in all, the safest / easiest solution might be to define the |
This issue is stale because it has been open 90 days with no activity. Remove the |
This one is labeled as an |
This issue is stale because it has been open 90 days with no activity. Remove the |
馃悰 Bug Report
The
client.indices.get()
API returns a String for themappings.dynamic
property, even when specifying a boolean.This is error prone:
To Reproduce
Create and retrieve a new index using the Dev Console:
Notice how the
dynamic
property comes back as a StringExpected behavior
We'd expect the
dynamic
property to have the correct type (in this case, aboolean
).Your Environment
@elastic/elasticsearch
version: 8.6.0The text was updated successfully, but these errors were encountered: