Skip to content

Update SDK to Swift 6 #2

Merged
Andrea-Scuderi merged 29 commits into
mainfrom
feature/swift-6
Jul 12, 2025
Merged

Update SDK to Swift 6 #2
Andrea-Scuderi merged 29 commits into
mainfrom
feature/swift-6

Conversation

@Andrea-Scuderi
Copy link
Copy Markdown
Member

  • Use swift-service-lifecycle to manage BreezeLambdaAPI Service Lifecycle
  • Add a BreezeDemoApplication executable as example of usage
  • Use Structured Concurrency
  • Inject environment parameters to simplify test process
  • Use swift Testing

Note:
The PR cannot be merged until a stable version of swift-aws-lambda-runtime will be released

@Andrea-Scuderi Andrea-Scuderi self-assigned this Dec 24, 2024
Comment thread Package.resolved Outdated
Comment thread .gitignore Outdated
Comment thread Package.swift Outdated
Comment thread Package.swift Outdated
var breezeApi: BreezeLambdaHandler<T>?

func handler(event: APIGatewayV2Request, context: LambdaContext) async throws -> APIGatewayV2Response {
guard let breezeApi else { throw BreezeLambdaAPIError.invalidHandler }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can we avoid this?

Comment thread Tests/BreezeLambdaAPITests/BreezeLambdaAPIServiceTests.swift Outdated
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@Andrea-Scuderi Andrea-Scuderi merged commit 1ed45af into main Jul 12, 2025
1 of 2 checks passed
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