Skip to Content
0
Jun 16 at 12:00 PM

Clear OData metadata cache?

460 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