Skip to content

Index patterns - simplify relationship between IndexPattern class, IIndexPattern, and IndexPatternSpec #78378

@mattkime

Description

@mattkime

While the main api methods IndexPatterns has been refactored, the object structure needs a similar simplification which mainly affects functions that take IndexPattern instances as arguments. IIndexPattern provides a means of accepting either an IndexPattern instance or a plain javascript object. It would be better to use the IndexPatternSpec more widely since its easy to configure and can be generated by an IndexPattern instance.

Metadata

Metadata

Assignees

Labels

Feature:Data ViewsData Views code and UI - index patterns before 8.0impact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions