Thanks Carlos. Did I miss this on the dev list? -r
> On May 21, 2018, at 3:19 PM, Carlos Santana <[email protected]> wrote: > > We already applied a workaround [1] and worked with Matt directly. > > By the way is also patched in IBM Cloud Functions. > > I opened an issue against Swift, I have a feeling that they will not > backport and fix in 4.1 since is already fix in up coming version 4.2 > You can track program [2] > > My feeling is I'm going to keep the workaround in 4.1, and not have the > workaround when we do 4.2 > > [1] https://github.com/apache/incubator-openwhisk-runtime-swift/pull/59 > [2] https://github.com/apache/incubator-openwhisk-runtime-swift/issues/60 > > -- Carlos > > > >> On Mon, May 21, 2018 at 2:03 PM Rodric Rabbah <[email protected]> wrote: >> >> Hey Matt >> >> how did you create the action? >> >>> cat t.swift >> struct Output: Codable { >> let greeting: String >> let extraValue: String >> } >> >> func main(completion: (Output?, Error?) -> Void) -> Void { >> let result = Output(greeting: "Hello OpenWhisk!", extraValue: >> "Snafu") >> completion(result, nil) >> } >> >>> wsk action create c t.swift --kind swift:4.1 >> >>> wsk action invoke c -r >> { >> "extraValue": "Snafu", >> "greeting": "Hello OpenWhisk!" >> } >> >> >> -r >> >> Original message: >> >> https://lists.apache.org/thread.html/043846f41f3fa18679d99c76aa9cc41935e28f2e2384af5ff3f4a880@%3Cdev.openwhisk.apache.org%3E >>
