smithy4s icon indicating copy to clipboard operation
smithy4s copied to clipboard

Hints on collection members aren't generated

Open kubukoz opened this issue 3 years ago • 3 comments

Spawned by https://github.com/disneystreaming/smithy4s/pull/599#discussion_r1020671261.

You can apply some hints on collection members, e.g.:

list Strings {
  @deprecated @documentation("foo") member: String
}

and they don't end up in the generated schema. This should be fixed, so that the collection's schema includes the hints.

Also: check if the dynamic model reads these hints.

kubukoz avatar Nov 12 '22 14:11 kubukoz

bruh I'm literally tripping, I just made https://github.com/disneystreaming/smithy4s/issues/609 which is the exact same thing

kubukoz avatar Nov 17 '22 23:11 kubukoz

Did you mean enum members instead of collection members ?

Baccata avatar Nov 18 '22 09:11 Baccata

enum members are done in #599. I meant collection indeed

kubukoz avatar Nov 18 '22 16:11 kubukoz