gd-sprest
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "gd-sprest", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "An easy way to develop against the SharePoint REST API.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://github.com/gunjandatta/sprest)", |
@@ -212,4 +212,7 @@ /// <reference path="base.d.ts" /> | ||
if(typeof(methodInfo.metadataType) === "function") { | ||
// Update the metadata type | ||
methodInfo.metadataType = methodInfo.metadataType(this); | ||
// Clone the object properties | ||
methodInfo = JSON.parse(JSON.stringify(methodInfo)); | ||
// Set the metadata type | ||
methodInfo.metadataType = methods[methodName].metadataType(obj); | ||
} | ||
@@ -216,0 +219,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
891682
13748