From 838ce9b581c520225f95f6897751fda872c9eb56 Mon Sep 17 00:00:00 2001 From: anthioikonomou Date: Mon, 2 Feb 2026 11:46:51 +0200 Subject: [PATCH 1/2] Throw association error if expand association is missing or is not correctly set --- data-queryable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data-queryable.js b/data-queryable.js index a96a406..7924189 100644 --- a/data-queryable.js +++ b/data-queryable.js @@ -2744,6 +2744,8 @@ function afterExecute_(result, callback) { return cb(err); }); } + // throw association error if mapping is not set + return cb(new DataError('EASSOC', sprintf('Data association mapping (%s) for %s cannot be determined.', mapping.refersTo, self.model.name))); } else { return cb(new Error('Not yet implemented')); From ba5edd242f35260aca965fd08bc2a2fe581ea8a9 Mon Sep 17 00:00:00 2001 From: anthioikonomou Date: Mon, 2 Feb 2026 11:48:30 +0200 Subject: [PATCH 2/2] 2.6.99 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a80f35f..48b4c6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@themost/data", - "version": "2.6.98", + "version": "2.6.99", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 40fb48f..4cd7669 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@themost/data", - "version": "2.6.98", + "version": "2.6.99", "description": "MOST Web Framework Codename Blueshift - Data module", "main": "index.js", "types": "index.d.ts",