tmcw
Explore posts from serversIs there any way to get Deno to not statically analyze import()?
Another issue for another part of this - doesn't seem like
"" +
works for npm: packages - https://github.com/denoland/deno/issues/204798 replies
Is there any way to get Deno to not statically analyze import()?
that's been a fairly tough one to work with - with val.town at least there are certain dependencies that just break the evaluation server until it restarts, though evaluations are happening in a Worker
8 replies
Is there any way to get Deno to not statically analyze import()?
there's a bug report i've commented on at https://github.com/denoland/deno/issues/18557 - if you have a dynamic import that points to a module that has a
git+
dependency, your import()
method is permanently broken8 replies
DTDrizzle Team
•Created by Noahh on 5/8/2023 in #help
Does onConflictDoUpdate work with composite primary keys?
try something like this?
3 replies
DTDrizzle Team
•Created by tmcw on 5/5/2023 in #help
I ran introspect:pg to initialize my schema, then created a new migration. How should I deploy this?
Thanks Andrew!
17 replies
DTDrizzle Team
•Created by tmcw on 5/5/2023 in #help
I ran introspect:pg to initialize my schema, then created a new migration. How should I deploy this?
I think commenting and uncommenting would work. Trying to remember how Prisma dealt with this scenario 😆 .
17 replies
DTDrizzle Team
•Created by tmcw on 5/5/2023 in #help
I ran introspect:pg to initialize my schema, then created a new migration. How should I deploy this?
Oh! Okay. So for I should comment out the migrations that are "pre-drizzle." That works… how should this work with fresh databases that don't have any of this structure?
17 replies
Can I pre-cache dependencies that I specify using npm:?
Ah, using vendor triggers some different permissions. That's why I wasn't using it. Sorry, this codebase is a little zany - we're using WebWorker's ability to run with reduced permissions, so there's a catch-22 where if I vendor dependencies, then Deno tries to use vendored deps within the WebWorker, which doesn't have
--allow-read
. Maybe there's a way to exclude stuff from being vendored21 replies