Sz
Sz
Explore posts from servers
CDCloudflare Developers
Created by elithrar on 11/16/2023 in #queues
Some updates for @Queues users:
Is there a beta version that is available by chance? Looking for the delay functionality similar to @trogdor
14 replies
TTCTheo's Typesafe Cult
Created by Sz on 12/13/2023 in #questions
Is it possible to pass access tokens to react server components?
How would the cookie be passed into the server component? I've been reading this article that states something similar as well by using routes api or middleware, but still a little confused as to how the react server component would be able to have access to the cookies or headers set from the routers or middleware article in question: https://www.propelauth.com/post/5-common-pitfalls-with-server-components-in-next13-with-examples
4 replies
TTCTheo's Typesafe Cult
Created by Sz on 12/12/2023 in #questions
Adding Custom Headers in trpc using local storage
Solved this issue by modifying the fetch method in the api.createClient
4 replies
TTCTheo's Typesafe Cult
Created by Sz on 12/4/2023 in #questions
key paths for recursive nested types
Not necessarily, it's supposed to represent a generic object type that can have both nested objects and arrays
9 replies
TTCTheo's Typesafe Cult
Created by Sz on 12/4/2023 in #questions
key paths for recursive nested types
It should be following this pattern of regex ^(functions)((\.[0-9]+)(\.(properties|items)))*. The missing part here is that the ${number}.items and ${number}.properties can be repeated any number of times in any combination of the 2
9 replies
TTCTheo's Typesafe Cult
Created by Sz on 12/4/2023 in #questions
key paths for recursive nested types
functions | functions.${number}.items | functions.${number}.properties
9 replies