smithy-lang / smithy-swift

Apache License 2.0
29 stars 29 forks source link

fix: Eliminate global var from protocol response test generation #790

Closed jbelkins closed 3 months ago

jbelkins commented 3 months ago

Issue \

https://github.com/awslabs/aws-sdk-swift/issues/1612

Description of changes

Eliminates a global variable that was used during protocol response test generation to track shapes that had already had Equatable conformance rendered.

The functionality has been removed from the protocol test generator, which runs in parallel with other rendering activities, and is now split out to two places during preprocessing:

Scope

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