Skip to content

Update IndexTemplateMetaData to allow unknown fields (#38448)#38493

Merged
martijnvg merged 2 commits intoelastic:6.xfrom
martijnvg:backport_38448
Feb 6, 2019
Merged

Update IndexTemplateMetaData to allow unknown fields (#38448)#38493
martijnvg merged 2 commits intoelastic:6.xfrom
martijnvg:backport_38448

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Updated IndexTemplateMetaData to use ObjectParser.

The IndexTemplateMetaData class used old parsing logic and was not
resiliant to new fields. This commit updates it to use the
ConstructingObjectParser and allow unknown fields.

Relates #36938

Updated IndexTemplateMetaData to use ObjectParser.

The IndexTemplateMetaData class used old parsing logic and was not
resiliant to new fields. This commit updates it to use the
ConstructingObjectParser and allow unknown fields.

Relates elastic#36938

Co-authored-by: Michael Basnight <mbasnight@gmail.com>
Co-authored-by: Martijn van Groningen <martijn.v.groningen@gmail.com>
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

@martijnvg martijnvg merged commit 65f807c into elastic:6.x Feb 6, 2019
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