@live-change/framework 0.9.141 → 0.9.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,10 @@ class ForeignModelDefinition {
18
18
  }
19
19
  }
20
20
 
21
+ toQueryDescription() {
22
+ return `[ForeignModel ${this.serviceName}.${this.name}]`
23
+ }
24
+
21
25
  }
22
26
 
23
27
  export default ForeignModelDefinition
@@ -52,6 +52,10 @@ class ModelDefinition<T extends ModelDefinitionSpecification> {
52
52
  return this.serviceName + '_' + this.name
53
53
  }
54
54
 
55
+ toQueryDescription() {
56
+ return `[Model ${this.serviceName}.${this.name}]`
57
+ }
58
+
55
59
  createAndAddProperty(name, definition) {
56
60
  const property = new PropertyDefinition(definition)
57
61
  this.properties[name] = property
@@ -21,7 +21,10 @@ function createModelProxy(definition, model) {
21
21
  }
22
22
  }
23
23
  const resutlt = Reflect.get(target, prop, receiver)
24
- if(!resutlt) console.warn("Model runtime used before created", model.name)
24
+ if(!resutlt) {
25
+ console.warn("Model", model.name, "runtime used before created; property", prop, "not found")
26
+ console.trace()
27
+ }
25
28
  return resutlt
26
29
  }
27
30
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.9.141",
3
+ "version": "0.9.142",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.9.141",
26
- "@live-change/uid": "^0.9.141",
25
+ "@live-change/dao": "^0.9.142",
26
+ "@live-change/uid": "^0.9.142",
27
27
  "typedoc": "0.28.3",
28
28
  "typedoc-plugin-markdown": "^4.6.3",
29
29
  "typedoc-plugin-rename-defaults": "^0.7.3"
30
30
  },
31
- "gitHead": "2e34ef5af52ba93eaeb317a8a062b898db0673b8"
31
+ "gitHead": "efc249d458250a4d1cb9bd5ff847de066452dc1c"
32
32
  }