diff --git a/src/models/layerMetadata/layerMetadata.ts b/src/models/layerMetadata/layerMetadata.ts index f5777ff..0d19792 100644 --- a/src/models/layerMetadata/layerMetadata.ts +++ b/src/models/layerMetadata/layerMetadata.ts @@ -345,7 +345,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { mappingType: TsTypes.DATE, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.MAIN, @@ -465,7 +465,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { mappingType: TsTypes.NUMBER, }) @graphql({ - nullable: false, //keep it true like in min? + nullable: false, }) @fieldConfig({ category: FieldCategory.GEO_INFO, @@ -512,7 +512,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { mappingType: TsTypes.NUMBER, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ category: FieldCategory.GEO_INFO, @@ -883,13 +883,13 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { mappingType: TsTypes.NUMBER, }) @graphql({ - nullable: false, //keep it true like in max? + nullable: false, }) @fieldConfig({ category: FieldCategory.MAIN, infoMsgCode: [ 'info-field-tooltip.minResolutionDeg.tooltip', - 'info-general-tooltip.required', // is it required? + 'info-general-tooltip.required', 'info-field-tooltip.minResolutionDeg.min', 'info-field-tooltip.minResolutionDeg.max', ], @@ -909,6 +909,7 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { max: VALIDATIONS.resolutionDeg.max, }, ], + isLifecycleEnvolved: true, }) //#endregion public minResolutionDeg: number | undefined = undefined; @@ -981,10 +982,10 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel { mappingType: TsTypes.NUMBER, }) @graphql({ - nullable: true, + nullable: false, }) @fieldConfig({ - category: FieldCategory.MAIN, // is it required? + category: FieldCategory.MAIN, infoMsgCode: ['info-general-tooltip.required', 'info-field-tooltip.minResolutionMeter.min', 'info-field-tooltip.minResolutionMeter.max'], validation: [ {