humblemodulo
humblemodulo
Explore posts from servers
NNuxt
Created by humblemodulo on 1/7/2025 in #❓・help
How do you query `z.array()` fields (e.g. tags) in the latest content module (v3.alpha.8)
I opened discussion but not an issue. Just logged off for the day, but I'll log something tomorrow. Thanks!
10 replies
NNuxt
Created by humblemodulo on 1/7/2025 in #❓・help
How do you query `z.array()` fields (e.g. tags) in the latest content module (v3.alpha.8)
Yeah, currently I'm doing it manually. Query all, then JS filter. 🫠
10 replies
NNuxt
Created by humblemodulo on 1/7/2025 in #❓・help
How do you query `z.array()` fields (e.g. tags) in the latest content module (v3.alpha.8)
Anyone? @manniL ?
10 replies
NNuxt
Created by humblemodulo on 12/22/2024 in #❓・help
Typescript autocompletion in ".vue" files "broken"
Literally had to nuke my extensions and reinstall only relevant ones. Everything works now (at least in the context of Nuxt/Vue). I'll begin reinstalling other extensions later and post back if I find the culprit.
7 replies
TtRPC
Created by Avraj on 1/23/2024 in #❓-help
Is there a way to refetch a query with new parameters?
I'm sure it's a case of me trying to use it incorrectly, but . . . Depending on state to trigger a refetch seems "wrong". 🤔 Is there no "freedom" to manually refetch with different/additional params as allowed by the actual endpoint? Is there a reason we're "handcuffed" in this way? Admittedly, the primary reason I'm using TRPC in the first place is for "ease of validation" and a bit of typesafety, but if I'm forced to rely on state for various individual params of a potentially larger params object, it might be "better" to just use an old school RESTful setup. 😢
29 replies