dobo 1.0.16 → 1.0.17

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.
@@ -30,7 +30,8 @@ async function handler ({ file, alias, ns }) {
30
30
  })
31
31
  }
32
32
  mod.feature = feats
33
- if ((mod.properties ?? []).length === 0) this.fatal('noPropsFoundOnSchema%s', mod.name)
33
+ mod.properties = mod.properties ?? []
34
+ // if ((mod.properties ?? []).length === 0) this.fatal('noPropsFoundOnSchema%s', mod.name)
34
35
  // schema extender
35
36
  await eachPlugins(async function (opts) {
36
37
  const glob = `${opts.dir}/dobo/extend/${mod.ns}/schema/${base}.*`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Database ORM/ODM for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {