In what example?
Could not find How to access Variables in openruntimes/swift:v3-5.5
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
swift 5.5
Rank 1: Thread
func main(req: RequestValue, res: RequestResponse) -> RequestResponseLook the same
Except one is async and throws
They will work the same
Rank 1: Thread
yes, they are same, but they are swift-v2-5.5
Rank 1: Thread
recent version swift-v3-5.5
the signature is from https://github.com/open-runtimes/open-runtimes/blob/main/runtimes/swift-5.5/Sources/Runtime/main.swift
func main(context: RuntimeContext) async throws -> RuntimeOutputOhh the functions in that repo are got update recently
Rank 1: Thread
yup
This new signature is for g4 of functions which isn't available yet.
All the examples shows the version 3
Rank 1: Thread
Oh!, got it
Maybe in this case - it will need to be approved by some Appwrite
member - it might be best:
- Wait for version 4 to be released
- Create the function for version 3
Rank 1: Thread
Ok, will create for version 3
Rank 1: Thread
when version 4 comes I might update it accordingly
Sounds good to me
Rank 1: Thread
thanks, for the suppor @Binyamin
Rank 1: Thread
Hey I was working on the issue but all the hacktoberfest 2022 issues are close mine is one of em, whom should i contact for it to be reopened?
Can you send me the link of issue ?
Rank 1: Thread
reopened
Rank 1: Thread
Hey done with it, Could someone please review it?
Rank 1: Thread
Here is the link to PR https://github.com/open-runtimes/examples/pull/179