r.omaarr
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Mohit on 11/15/2024 in #questions
Can I use server actions in nextjs 15 for graphql request
Send a post request to the graphql endpoint.
You’d probably benefit from something like graphql codegen as well
2 replies
TTCTheo's Typesafe Cult
•Created by chip on 2/4/2024 in #questions
What to use for storage of logs from SaaS
I've used https://betterstack.com/logs and connected it directly to my fly.io instance. They had a pretty nice feature to parse my print statements to actual queryable logs without any change to the actual code
5 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 2/4/2024 in #questions
Avoid Grid Borders from doubling
Fixed it. Apparently there is a property called outline (https://developer.mozilla.org/en-US/docs/Web/CSS/outline)
Here is a link for anyone interested: https://codepen.io/spaceyyn/pen/xxBzKem
4 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 1/22/2023 in #questions
Flex box full width
you really saved my day cant thank you enough!
5 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 1/22/2023 in #questions
Flex box full width
Yeah that's what i wanted. Thanks so much!
5 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 1/17/2023 in #questions
Managing data fetching in Astro
Also can i use axios instead of the default fetch method?
2 replies
TTCTheo's Typesafe Cult
•Created by scinorandex on 1/8/2023 in #questions
How does one handle a lot of conditional rendering based on the permissions of the logged in user?
I was looking into the same thing some time ago, https://isamatov.com/react-permissions-and-roles/ this helped me while building a SAAS B2B Dashboard for a client.
3 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 1/9/2023 in #questions
HeadlessUI & Astro
ok thanks so much!
7 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 11/18/2022 in #questions
Filter Query with multiple parameters
would be in the second case, wouldn't that try to find all posts that have an empty string as a tag?
8 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 11/18/2022 in #questions
Filter Query with multiple parameters
where: {
tag=''
},
8 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 11/18/2022 in #questions
Filter Query with multiple parameters
Do i need to create a case for each combination of filter parameters and use the specific trpc route for that particular combination or how do i deal with empty params in the WHERE field
8 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 11/18/2022 in #questions
Filter Query with multiple parameters
But /posts?category=foo should show all posts that have foo category and any tag
8 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/27/2022 in #questions
How to change the input type in trpc call
Hey, just wanted to thank you. This fixed 90% of the problems i had with trpc
9 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/27/2022 in #questions
How to change the input type in trpc call
sorry !!
9 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/27/2022 in #questions
How to change the input type in trpc call
oh didn't notice i was reading the old docs
9 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/27/2022 in #questions
How to change the input type in trpc call
this is the error message
9 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/27/2022 in #questions
How to change the input type in trpc call
Argument of type '{ ctx: any; input: z.ZodObject' is not assignable to parameter of type '(opts: ResolveOptions<{ _config: RootConfig<{ ctx: { session: Session | null;
9 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/24/2022 in #questions
Type Inference with T3 Stack
oh okay thanks for the help!!
21 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/24/2022 in #questions
Type Inference with T3 Stack
in a reusable component something like this
21 replies
TTCTheo's Typesafe Cult
•Created by r.omaarr on 10/24/2022 in #questions
Type Inference with T3 Stack
yeah its only for output
21 replies