Comparing version 0.1.19-alpha.7 to 0.1.19-alpha.8
@@ -105,3 +105,10 @@ const { DatabaseModelBase } = require('./DatabaseModelBase') | ||
if (separatorIndex === -1) { | ||
return [this, this.constructor.getField(fieldPath), fieldPath] | ||
try { | ||
return [this, this.constructor.getField(fieldPath), fieldPath] | ||
} catch (e) { | ||
if (e instanceof FieldError) { | ||
return null | ||
} | ||
throw e | ||
} | ||
} | ||
@@ -108,0 +115,0 @@ if (value === null) { |
{ | ||
"name": "djorm", | ||
"version": "0.1.19-alpha.7", | ||
"version": "0.1.19-alpha.8", | ||
"description": "Django like ORM framework", | ||
@@ -44,3 +44,3 @@ "author": "Pavel Žák <pavel@zak.global>", | ||
}, | ||
"gitHead": "dff8abca86d4c02bd8b090c2233153aa3e8b8ab8" | ||
"gitHead": "b8cb3dea84a1039f4b910093649261697a6ac2fa" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91732
3162