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:
The new TestEquatableConformanceTransformer model transformer now marks shapes that need Equatable for protocol response test verification with a new synthetic trait named TestEquatableConformanceTrait.
Actual rendering of Equatable conformance for protocol tests now happens in a new Swift integration named TestEquatableConformanceIntegration.
Scope
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
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:
TestEquatableConformanceTransformer
model transformer now marks shapes that need Equatable for protocol response test verification with a new synthetic trait namedTestEquatableConformanceTrait
.TestEquatableConformanceIntegration
.Scope
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.