Skip to content

Conversation

jbelkins
Copy link
Contributor

@jbelkins jbelkins commented Oct 8, 2025

Description of changes

The Smithy spec allows enum and intEnum shapes to be bound to event headers with the @eventHeader trait, but at codegen time, the Swift SDK currently prohibits these in event headers.

Adds code generation to allow Swift to bind Smithy enum and intEnum to event headers.

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 4987ff7 into main Oct 8, 2025
56 of 57 checks passed
@jbelkins jbelkins deleted the jbe/enums_in_event_headers branch October 8, 2025 21:59
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