Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(middleware-endpoint-discovery): assert clientName and commandName in context #5232

Merged
merged 1 commit into from Sep 20, 2023

Conversation

syall
Copy link
Contributor

@syall syall commented Sep 20, 2023

Issue

Issue number, if available, prefixed with "#"

N/A.

Description

What does this implement/fix? Explain your changes.

Assert clientName and commandName in context, since TypeScript says it can possible be undefined after smithy-lang/smithy-typescript#931.

Testing

How was this change tested?

N/A.

Additional context

Add any other context about the PR here.

N/A.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@syall syall force-pushed the bang-middleware-endpoint-discovery branch from 1b1c2de to 8faf7d1 Compare September 20, 2023 05:43
@syall syall marked this pull request as ready for review September 20, 2023 05:44
@syall syall requested a review from a team as a code owner September 20, 2023 05:44
@syall syall changed the title fix(middleware-endpoint-discovery): fix undefined values in context fix(middleware-endpoint-discovery): assert clientName and commandName in context Sep 20, 2023
@trivikr trivikr merged commit 5c17a3f into aws:main Sep 20, 2023
3 checks passed
@syall syall deleted the bang-middleware-endpoint-discovery branch September 20, 2023 17:51
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants