Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ var swiftSettings: [SwiftSetting] = [

// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0409-access-level-on-imports.md
.enableUpcomingFeature("InternalImportsByDefault"),

// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
]

let package = Package(
Expand Down
4 changes: 2 additions & 2 deletions Sources/HBLambdaTest/maths.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ typealias AppRequestContext = BasicLambdaRequestContext<APIGatewayV2Request>

struct DebugMiddleware: RouterMiddleware {
typealias Context = AppRequestContext
func handle(
@concurrent func handle(
_ request: Request,
context: Context,
next: (Request, Context) async throws -> Output
next: @concurrent (Request, Context) async throws -> Output
) async throws -> Output {
context.logger.debug("\(request.method) \(request.uri)")
context.logger.debug("\(context.event)")
Expand Down
Loading