[EPM] Improve and test expandFields() implementation #60487
Labels
Feature:EPM
Fleet team's Elastic Package Manager (aka Integrations) project
Team:Fleet
Team label for Observability Data Collection Fleet team
Currently, the implementation of
expandFields()
iningest_manager/server/services/epm/fields/field.ts
is mutating its input array instead of returning a new one. This is asking for trouble down the road, and inconsistent with our usual style.This task is to fix the implementation, and also add unit tests.
The text was updated successfully, but these errors were encountered: