codelilac
Explore posts from serversTTCTheo's Typesafe Cult
•Created by codelilac on 2/26/2025 in #questions
Better auth for a swift app with a hono backend - pain & suffering or a good idea?
That’s the thing I’m trying to avoid :P Supabase really has a BaaS that also happens to offer Auth as part of that flow. It is a MASSIVE swift SDK to pull just for Auth
4 replies
TTCTheo's Typesafe Cult
•Created by cloud on 2/26/2025 in #questions
What are some Free Database Providers that don't go to sleep on inactivity?
This is the answer, it doesn’t sleep or scale to zero, period. Pretty awesome.
9 replies
TTCTheo's Typesafe Cult
•Created by cloud on 2/26/2025 in #questions
What are some Free Database Providers that don't go to sleep on inactivity?
I don’t think this exists, what you’re asking for is an always on DB - that will pretty much always cost money. Even shared/pooled instances will also sleep if there isn’t any activity for awhile.
Why don’t you just use SQLite or PocketDB?
9 replies
DTDrizzle Team
•Created by codelilac on 6/24/2024 in #help
Struggling to use Zod with Drizzle... Type errors around |undefined
By default, Zod includes | undefined on fields with Zod.Optional(), this causes an issue since there’s a difference between a type that is set to undefined and getting ‘undefined’ from a variable, which is what that flag enforces checks for.
I’ve since switched to Drizzle Typebox which is quite a bit less headache and had this flag in mind from the get go :)
8 replies
DTDrizzle Team
•Created by codelilac on 6/24/2024 in #help
Struggling to use Zod with Drizzle... Type errors around |undefined
In your TS config, do you have
exactOptionalPropertyTypes
enabled? This is the flag that causes the issue8 replies
DTDrizzle Team
•Created by codelilac on 6/24/2024 in #help
Struggling to use Zod with Drizzle... Type errors around |undefined
this appears to be an issue with Zod itself, what a bummer
8 replies
DTDrizzle Team
•Created by codelilac on 6/24/2024 in #help
Struggling to use Zod with Drizzle... Type errors around |undefined
for added context:
8 replies