Skip to content

Commit 8c3eed9

Browse files
committed
Merge branch 'develop' of github.com:Macro-swift/MacroExpress into develop
2 parents 8a01cb8 + 31985e9 commit 8c3eed9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Sources/express/ExpressWrappedDictionary.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// MacroExpress
44
//
55
// Created by Helge Heß on 14.07.24.
6-
// Copyright © 2024 ZeeZide GmbH. All rights reserved.
6+
// Copyright © 2024-2025 ZeeZide GmbH. All rights reserved.
77
//
88

99
/**
@@ -118,3 +118,11 @@ public extension ExpressWrappedDictionary {
118118
return String(describing: v)
119119
}
120120
}
121+
122+
public extension BodyParserBody {
123+
124+
@inlinable
125+
static func urlEncoded(_ values: ExpressWrappedDictionary<Any>) -> Self {
126+
return .urlEncoded(values.dictionary)
127+
}
128+
}

0 commit comments

Comments
 (0)