As far as I could see, the function addV2Metadata in dataAccess.ts converts all keys to strings with single quotes.
In the app, when accessing the UI context with path /MyEntities(ObjectId='3cd0813b921744539da05c34d72ec7fa',Id=4,Version='000002'), no data is returned as the mockserver created the mockdata with key /MyEntities(ObjectId='3cd0813b921744539da05c34d72ec7fa',Id='4',Version='000002') (Id=4 versus Id='4').
Expected results
The metadata id/uri should have the correct path with Id having an integer value. Maybe there is a hook to influence the mockdata creation and/or to adjust the metadata values?
Description
Assuming one has defined a V2 entity with a combined key containing string and int32, like....
As far as I could see, the function
addV2Metadata
in dataAccess.ts converts all keys to strings with single quotes. In the app, when accessing the UI context with path/MyEntities(ObjectId='3cd0813b921744539da05c34d72ec7fa',Id=4,Version='000002')
, no data is returned as the mockserver created the mockdata with key/MyEntities(ObjectId='3cd0813b921744539da05c34d72ec7fa',Id='4',Version='000002')
(Id=4 versus Id='4').Expected results
The metadata id/uri should have the correct path with
Id
having an integer value. Maybe there is a hook to influence the mockdata creation and/or to adjust the metadata values?