Skip to content

Conversation

@mattmassicotte
Copy link
Contributor

APIGatewayWebSocketRequest was not decoding url query parameters from event payloads.

Motivation:

API Gateway WebSocket endpoints do support capturing and forwarding query parameters. Probably just omitted because it isn't particularly common.

Modifications:

Added the field. Added a test. Verified against a real system that uses the feature.

Result:

Query parameters for APIGatewayWebSocketRequest will be available to clients.

@sebsto sebsto added the 🔨 semver/patch No public API change. label Nov 11, 2025
@sebsto sebsto self-assigned this Nov 11, 2025
@sebsto
Copy link
Collaborator

sebsto commented Nov 11, 2025

Thank you @mattmassicotte for having spot and corrected this.
Can you run scripts/check_format.sh to fix the format check on CI ?
All the rest seems good :-)

@mattmassicotte
Copy link
Contributor Author

Ah. Right. I should have figured that out on my own...

@sebsto
Copy link
Collaborator

sebsto commented Nov 11, 2025

Thank you Matt

@sebsto sebsto self-requested a review November 11, 2025 12:10
Copy link
Collaborator

@sebsto sebsto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sebsto sebsto merged commit f5c173c into awslabs:main Nov 11, 2025
17 checks passed
@mattmassicotte mattmassicotte deleted the fix/websocket-query-params branch November 11, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants