Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
danjoa committed Dec 8, 2023
1 parent eaf8981 commit d71045b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monkey-patch-cds.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const cds = require("@sap/cds/lib")
const unfold = require("./compile/unfold")
cds.compile.for.nodejs
cds.compile.for.nodejs = csn => {
_plain_csn = cds.clone(csn)
_plain_csn ??= cds.compile(cds.clone(csn))
return unfold(csn,'assocs','structs')
}

Expand Down

0 comments on commit d71045b

Please sign in to comment.