smithy-lang / smithy

Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
https://smithy.io
Apache License 2.0
1.7k stars 201 forks source link

Use new typed properties for trait code generation #2254

Closed hpmellema closed 2 months ago

hpmellema commented 2 months ago

Background

Updates trait code generation to use the new typed properties added in PR #2248.

This PR also:

  1. fixes an error in the original PR for typed properties where properties were not added in the toBuilder method
  2. Moves handling of the uniqueItems trait from an integration to the symbol provider.

Testing


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.