smithy4s icon indicating copy to clipboard operation
smithy4s copied to clipboard

Dynamic should default to vectors as the collection tag, instead of lists

Open kubukoz opened this issue 2 years ago • 0 comments

Currently, if you load a list shape using DynamicSchemaIndex, it'll always have CollectionTag.ListTag. It should be changed to VectorTag, as vectors may be a more sensible default collection type for dynamic usecases (as you won't be pattern matching on these lists, for example).

I think this can go in a patch release of <current major series, at the time of writing this is 0.18>.

kubukoz avatar Apr 03 '24 17:04 kubukoz