@apigames/json-schema
Advanced tools
Comparing version 24.1.2 to 24.1.3
@@ -10,5 +10,7 @@ "use strict"; | ||
this.SetupSchemaDependencies = (schemaDefinition, context) => { | ||
this.CallSchemaDefinitionsSetupSchemaDependencies(schemaDefinition, context); | ||
const _schemaDefinition = schemaDefinition.SchemaDefinition(context); | ||
this.validator.addSchema(_schemaDefinition, schemaDefinition.SchemaName(context)); | ||
if ((0, json_1.isFalse)((0, json_1.hasProperty)(this.validator.schemas, schemaDefinition.SchemaName(context)))) { | ||
const _schemaDefinition = schemaDefinition.SchemaDefinition(context); | ||
this.validator.addSchema(_schemaDefinition, schemaDefinition.SchemaName(context)); | ||
this.CallSchemaDefinitionsSetupSchemaDependencies(schemaDefinition, context); | ||
} | ||
}; | ||
@@ -15,0 +17,0 @@ this.SetupSchema = (schemaDefinition, context) => { |
@@ -16,3 +16,3 @@ { | ||
"license": "MIT", | ||
"version": "24.1.2", | ||
"version": "24.1.3", | ||
"main": "lib/index.js", | ||
@@ -19,0 +19,0 @@ "types": "lib/index.d.ts", |
29237
425