Skip to content

Conversation

jbelkins
Copy link
Contributor

@jbelkins jbelkins commented Oct 8, 2025

Description of changes

Companion PR smithy-lang/smithy-swift#977 allows Smithy enum- and intEnum-based models to be bound to event headers.

This PR adds an event header-bound enum and intEnum to existing local protocol tests for REST & RPC event streams, to ensure that the generated code compiles to Swift successfully.

(Note that this is not a full protocol test of this change; protocol tests of event stream serde is not supported. The test does guarantee, though, that the Swift code generated from the Smithy model compiles successfully.)

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

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

@jbelkins jbelkins marked this pull request as ready for review October 8, 2025 18:23
@jbelkins jbelkins merged commit 1009575 into main Oct 8, 2025
41 of 43 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