Skip to content

Address feedback from Kibana #232

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

Merged
merged 2 commits into from
Mar 26, 2021
Merged

Address feedback from Kibana #232

merged 2 commits into from
Mar 26, 2021

Conversation

delvedor
Copy link
Member

Related: #197

@@ -47,7 +48,7 @@ interface PutMappingRequest extends RequestBase {
index_field?: IndexField
meta?: Dictionary<string, UserDefinedValue>
numeric_detection?: boolean
properties?: Dictionary<PropertyName, PropertyBase>
properties?: Dictionary<PropertyName, Property>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing the properties types is a beast. @swallez and me are working on the variants feature of the compiler to improve the definitions here. As is, this API can't be fixed until we finish the variants feature.

@delvedor delvedor mentioned this pull request Mar 26, 2021
2 tasks
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. We should open a ticket for model validation that ensures the unions are exhaustive.

@delvedor delvedor merged commit a011861 into master Mar 26, 2021
@delvedor delvedor deleted the fix-197 branch March 26, 2021 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants