typespec icon indicating copy to clipboard operation
typespec copied to clipboard

Unable to apply @maxLength to `bytes`

Open johanste opened this issue 1 year ago • 0 comments

model Funky {
  @maxLength(200)
  data: bytes;
}

Result - error decorator-wrong-target Cannot apply @maxLength decorator to type it is not a string 2:3. And unhappy developer.

johanste avatar Aug 15 '24 01:08 johanste