Skip to content

Commit

Permalink
formatting (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsto authored Nov 7, 2024
1 parent 1f80164 commit 9f8880b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,17 @@ The [design document](Sources/AWSLambdaRuntimeCore/Documentation.docc/Proposals/
The proposal has been reviewed and [incorporated feedback from the community](https://forums.swift.org/t/aws-lambda-v2-api-proposal/73819). The full v2 API design document is available [in this repository](Sources/AWSLambdaRuntimeCore/Documentation.docc/Proposals/0001-v2-api.md).
**Key Design Principles**
### Key Design Principles
The v2 API prioritizes the following principles:
**Readability and Maintainability**: Extensive use of `async`/`await` improves code clarity and simplifies maintenance.
- Readability and Maintainability: Extensive use of `async`/`await` improves code clarity and simplifies maintenance.
**Developer Control**: Developers own the `main()` function and have the flexibility to inject dependencies into the `LambdaRuntime`. This allows you to manage service lifecycles efficiently using [Swift Service Lifecycle](https://github.com/swift-server/swift-service-lifecycle) for structured concurrency.
- Developer Control: Developers own the `main()` function and have the flexibility to inject dependencies into the `LambdaRuntime`. This allows you to manage service lifecycles efficiently using [Swift Service Lifecycle](https://github.com/swift-server/swift-service-lifecycle) for structured concurrency.
**Simplified Codable Support**: The `LambdaCodableAdapter` struct eliminates the need for verbose boilerplate code when encoding and decoding events and responses.
- Simplified Codable Support: The `LambdaCodableAdapter` struct eliminates the need for verbose boilerplate code when encoding and decoding events and responses.
**New Capabilities**
### New Capabilities
The v2 API introduces two new features:
Expand Down

0 comments on commit 9f8880b

Please sign in to comment.