Gentics Mesh Version, operating system, or hardware.
v0.19.1
Operating System
all
Problem
The RAML output which is used to produce the TypeScript interfaces for the UI app has several properties marked as optional which seem to be incorrect. I am currently implementing strict null checking in TypeScript for the UI and these wrongly optional properties are creating false errors all over the code base.
Suspected wrong optional properties
All interfaces which extend AbstractNameUuidReference, since the "name" property is not set to "required", whereas in reality I suspect that the "name" property should be present in all cases.
GroupReference
ProjectReference
ReleaseReference
RoleReference
TagFamilyReference
TagReference
Also:
SchemaReference extends NameUuidReference and has all properties optional.
Gentics Mesh Version, operating system, or hardware.
Operating System
all
Problem
The RAML output which is used to produce the TypeScript interfaces for the UI app has several properties marked as optional which seem to be incorrect. I am currently implementing strict null checking in TypeScript for the UI and these wrongly optional properties are creating false errors all over the code base.
Suspected wrong optional properties
All interfaces which extend
AbstractNameUuidReference
, since the "name" property is not set to "required", whereas in reality I suspect that the "name" property should be present in all cases.GroupReference
ProjectReference
ReleaseReference
RoleReference
TagFamilyReference
TagReference
Also:
SchemaReference
extendsNameUuidReference
and has all properties optional.