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

feat(codegen): export Mux for http binding for server #1344

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fangyi-zhou
Copy link

Closes #1342

It's useful to export the multiplexer that is automatically generated for a service, e.g. for use in anauthorizor lambda. This commit exports the generated multiplexer that is generated inside the service handler so that the multiplexer can be used in other packages.

Issue #, if available:

Description of changes:

If one or more of the packages in the /packages directory has been modified, be sure yarn changeset add has been run and its output has
been committed and included in this pull request. See CONTRIBUTING.md.


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

Closes smithy-lang#1342

It's useful to export the multiplexer that is automatically generated
for a service, e.g. for use in anauthorizor lambda. This commit exports
the generated multiplexer that is generated inside the service handler
so that the multiplexer can be used in other packages.
@fangyi-zhou fangyi-zhou marked this pull request as ready for review July 18, 2024 15:56
@fangyi-zhou fangyi-zhou requested review from a team as code owners July 18, 2024 15:56
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.

Feature Request: Export Mux when generating typescript server
1 participant