diff --git a/package-lock.json b/package-lock.json index 4b2ceddd..a75c240c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rescript-struct", - "version": "0.12.0", + "version": "0.12.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0c0e41f4..69a4c027 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rescript-struct", - "version": "0.12.0", + "version": "0.12.1", "description": "A simple and composable way to describe relationship between JavaScript and ReScript structures", "keywords": [ "ReScript", diff --git a/src/S.res b/src/S.res index de87cf63..b693492a 100644 --- a/src/S.res +++ b/src/S.res @@ -864,7 +864,7 @@ module MakeMetadata = ( ignore(key) ignore(value) %raw(`{ - ...obj, + ...dict, [key]: value, }`) }