Is there a way to change the gateway generated metadata? I understand that there Model Provider Extension Class which allows to manipulate some values however here is what I'm looking for.
Smart Filterbar and SmartTable controls require the attribute sap:filterable="true" or sap:required-in-filter="true". While the gateway doesn't allow to set or return required-in-filter attribute but it does allow to set the filter field to true/false. The default is true, so the meta doesn't return those values:
The examples from SAPUI5 Explored always contain embedded metadata with correct attributes set, hence work as expected, but they do not work with the gateway metadata.
I could modify the metadata and using the mock data make my code work, however I need to be able to do the same to the generated metadata until sap gateway team provides a fix or ui5 development interprets the metadata respecting the defaults.
Appreciate any help from the Gateway gurus.
Thank You