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

Make v2 API functions and types public #358

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

aryan-25
Copy link
Contributor

@aryan-25 aryan-25 commented Sep 5, 2024

Motivation:

As part of the implementation of the v2 API (#339), we landed new additions with the package access modifier so that they could not be mistakenly used while work was still in progress.

We now want to make the new additions introduced public.

Modifications:

  • Make new v2 functions and types public.

Result:

The new API can be used by adopters.

@@ -136,7 +137,7 @@ package struct LambdaCodableAdapter<
}

/// A ``LambdaResponseStreamWriter`` wrapper that conforms to ``LambdaResponseWriter``.
package struct LambdaCodableResponseWriter<Output, Encoder: LambdaOutputEncoder, Base: LambdaResponseStreamWriter>:
public struct LambdaCodableResponseWriter<Output, Encoder: LambdaOutputEncoder, Base: LambdaResponseStreamWriter>:
Copy link
Member

Choose a reason for hiding this comment

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

can we drop the Codable name here.

…ype of `LambdaContext` `getRemainingType()` to `Duration`
@fabianfett fabianfett merged commit 435033e into swift-server:main Sep 5, 2024
9 of 13 checks passed
@fabianfett fabianfett added this to the 2.0 milestone Sep 5, 2024
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