ningyougang commented on code in PR #150:
URL:
https://github.com/apache/openwhisk-runtime-swift/pull/150#discussion_r939949301
##########
README.md:
##########
@@ -33,15 +33,38 @@ The traditional support for the dictionary still works:
```swift
import Foundation
-func main(args: [String:Any]) -> [String:Any] {
- if let name = args["name"] as? String {
+func main(args: Any) -> Any {
Review Comment:
In order to support array result, from the new main signature. we can see,
the the input param and outout param should be changed to `Any` both.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]