Skip to content

Commit

Permalink
fix: update metadata definition for v2 requests (#672)
Browse files Browse the repository at this point in the history
* fix: update metadata definition for v2 requests

* Create selfish-spies-shop.md
  • Loading branch information
nlunets authored Jul 24, 2023
1 parent eabc23d commit 2ecd0c5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-spies-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sap-ux/fe-mockserver-core": patch
---

fix: update metadata definition for v2 requests
4 changes: 4 additions & 0 deletions packages/fe-mockserver-core/src/data/dataAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,10 @@ export class DataAccess implements DataAccessInterface {
case 'Edm.Int64': {
return `${key}=${currentKeys[key]}`;
}
case 'Edm.Boolean':
return `${key}=${currentKeys[key]}`;
case 'Edm.Guid':
return `${key}=guid'${currentKeys[key]}'`;
default: {
return `${key}='${currentKeys[key]}'`;
}
Expand Down
Loading

0 comments on commit 2ecd0c5

Please sign in to comment.