File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 4848 "@babel/preset-react" : " 7.16.7" ,
4949 "@babel/register" : " ^7.16.0" ,
5050 "@babel/runtime-corejs3" : " 7.16.8" ,
51- "@exabyte-io/esse.js" : " 2022.7.28-1 " ,
51+ "@exabyte-io/esse.js" : " 2022.8.16-0 " ,
5252 "crypto-js" : " ^4.1.1" ,
5353 "json-schema-merge-allof" : " ^0.8.1" ,
5454 "lodash" : " ^4.17.21" ,
Original file line number Diff line number Diff line change @@ -220,15 +220,20 @@ export class InMemoryEntity {
220220 * @returns {Object } schema
221221 */
222222 static get jsonSchema ( ) {
223- return mergeAllOf (
224- {
225- allOf : [ this . baseJSONSchema , ...getMixSchemasByClassName ( this . name ) ] ,
226- } ,
227- {
228- resolvers : {
229- defaultResolver : mergeAllOf . options . resolvers . title ,
223+ try {
224+ return mergeAllOf (
225+ {
226+ allOf : [ this . baseJSONSchema , ...getMixSchemasByClassName ( this . name ) ] ,
230227 } ,
231- } ,
232- ) ;
228+ {
229+ resolvers : {
230+ defaultResolver : mergeAllOf . options . resolvers . title ,
231+ } ,
232+ } ,
233+ ) ;
234+ } catch ( e ) {
235+ console . error ( e . stack ) ;
236+ throw e ;
237+ }
233238 }
234239}
You can’t perform that action at this time.
0 commit comments