Check if updating usage of EnumTrait
to EnumShape
improves code generated by smithy-rs
#1671
Labels
good first issue
Good for newcomers
refactoring
Changes that do not affect our users, mostly focused on maintainability
We currently have a lot of usages of
if (shape.hasTrait<EnumTrait>()) {
that may need to be converted toif (shape is EnumShape) {
. Convert them and then verify that this has improved the generated code (i.e. if it generates less code or clearer code.)The text was updated successfully, but these errors were encountered: