nickmazuk
nickmazuk
Explore posts from servers
Aarktype
Created by nickmazuk on 4/19/2025 in #questions
`.configure` not being applied
Yep that worked, thanks!
8 replies
Aarktype
Created by nickmazuk on 4/19/2025 in #questions
`.configure` not being applied
Yeah looks like if I hit the length check I get the overriden message. But I guess I had a few expectations of how things would work after reading the docs (which is not how they're actually working): - Configure would do the same thing for every error. To me configure and narrow should be orthoginal concepts. By making configure not affect narrow, you could have "spooky action at a distance" – and it's not clear from reading the code this should be what happens. - ctx.error messages would be shown to the user exactly as they're written. So without configure, the password strength checks display as "must be Password must contain at least one character that isn't a letter or number (was "assdfdfsd12A1")" in the error summary. My hope here was that because the must be ___ format doesn't work well for these custom checks that I could configure the error messages to show my custom error exactly.
8 replies
DTDrizzle Team
Created by shikishikichangchang on 6/9/2024 in #help
Turso SQLite vector search
Hey, curious if you've figured this out. I've been looking for the same thing.
4 replies
DTDrizzle Team
Created by SteveS on 8/12/2023 in #help
When using Drizzle-Kit in something like SvelteKit, how should I handle the schema.ts?
I'd recommend src/lib/server because Sveltekit will prevent you from accidentally importing anything from that folder into the client. That way, it's harder to accidentally leak your database secrets. https://kit.svelte.dev/docs/server-only-modules#your-modules
2 replies
DTDrizzle Team
Created by Pachimari on 8/13/2023 in #help
Is drizzle edge compatible (noobie question)?
According to the @libsql/client docs, use the @libsql/client/http import instead.
import { createClient } from "@libsql/client/http";
import { createClient } from "@libsql/client/http";
3 replies
DTDrizzle Team
Created by nickmazuk on 8/12/2023 in #help
SQLite: timestamp vs timestamp_ms modes
Thanks!
7 replies