From 6583c6f39bd22e0970c23fabafac5f80f5a051a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Stormacq?= Date: Thu, 7 Nov 2024 10:08:18 +0100 Subject: [PATCH] formatting --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index d437c598..56a25e58 100644 --- a/readme.md +++ b/readme.md @@ -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: