Skip to content

Various RAML properties incorrectly defined as optional #169

@michaelbromley

Description

@michaelbromley

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions