Hi guys, this time I want to modify some fields of my data source, that is, the fields of certain indexes that I have in Elasticsearch, but dynamically, depending on some conditions. I want to modify the labels, the formats, the currency, the display format etc, once the database has already been consulted.
I have seen the structure of the provider and I see that it has a metadata object and another customMeta, where I can find the metadata of each particular index including the fields.
Is it correct to modify the fields directly there or is there a better way to achieve this?