Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various RAML properties incorrectly defined as optional #169

Open
michaelbromley opened this issue May 3, 2018 · 0 comments
Open

Various RAML properties incorrectly defined as optional #169

michaelbromley opened this issue May 3, 2018 · 0 comments

Comments

@michaelbromley
Copy link

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.
@Jotschi Jotschi transferred this issue from gentics/mesh May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants