Skip to content

Conversation

jbelkins
Copy link
Contributor

@jbelkins jbelkins commented Oct 9, 2025

Description of changes

Generated code for endpoint params block will currently cause a Swift compile warning when it captures the client config object but does not access it in the block.

This change only captures config when the config will actually be accessed. This eliminates ~300-350 compile warnings when compiling protocol tests.

Because all current AWS services have endpoint params that are configured from client config properties, this change has no effect on any current AWS service.

Scope

  • 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.

@jbelkins jbelkins merged commit 79cc0ce into main Oct 9, 2025
55 of 57 checks passed
@jbelkins jbelkins deleted the jbe/endpoint_block_capture_fix branch October 9, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants