Skip to Content
0
Jun 16, 2022 at 12:00 PM

Clear OData metadata cache?

591 Views

Is there an official way to clear OData metadata cache in a CAP application?

In my eventhandler I'm using:
req._.odataReq._service._getMetadataCache()._cachedMetadata.clear()

but that seems to be not the suggested way.

Regards
Helmut