From 6ff5e3c68415309316b6e39bf943abbb1d7fceaf Mon Sep 17 00:00:00 2001 From: Kyriakos Barbounakis Date: Wed, 3 Feb 2021 21:51:08 +0200 Subject: [PATCH] Manually clean builder (#27) * clean builder cache flag * 2.6.1-next.3 --- odata.js | 1 + package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/odata.js b/odata.js index aae9c12..a4168d6 100644 --- a/odata.js +++ b/odata.js @@ -1562,6 +1562,7 @@ ODataModelBuilder.prototype.getEdmSync = function() { ODataModelBuilder.prototype.clean = function(all) { delete this[edmProperty]; if (typeof all === 'boolean' && all === true) { + delete this[initializeProperty]; this[entityTypesProperty] = {}; this[ignoreEntityTypesProperty] = []; this[entityContainerProperty] = []; diff --git a/package-lock.json b/package-lock.json index 45545ab..0e8363b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@themost/data", - "version": "2.6.1-next.2", + "version": "2.6.1-next.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c2d9ba0..803ca9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@themost/data", - "version": "2.6.1-next.2", + "version": "2.6.1-next.3", "description": "MOST Web Framework Codename Blueshift - Data module", "main": "index.js", "peerDependencies": {