Skip to content

How to add description to array items? #4248

Discussion options

You must be logged in to vote

It is not possible as it is, if you do need that the solution is to create an array model with the description

model Demo {
  example: ArrayOfString;
}

/** some description of string */
model ArrayOfString is string[];

Playground

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@risabhds
Comment options

Answer selected by risabhds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants