You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/08/08 08:09:26 UTC

[GitHub] [openwhisk-runtime-swift] ningyougang commented on a diff in pull request #150: Support array result include sequence action

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: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org