s1njar
s1njar
Explore posts from servers
RRailway
Created by s1njar on 5/10/2023 in #✋|help
Railway regions
Know or guess ? 🤔
9 replies
RRailway
Created by s1njar on 5/10/2023 in #✋|help
Railway regions
Any news here ?
9 replies
RRailway
Created by s1njar on 5/10/2023 in #✋|help
Railway regions
N/A
9 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
For using drizzle in nestjs please check out this thread in the nestjs discord channel https://discord.com/channels/520622812742811698/1099022606558056488/1099022606558056488
24 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
I've never tried it but neondb gives you a standarized postgresql connection. It should also work with drizzle without any adapter. Planetscale's DB also works with drizzle native mysql adapter but the planetscale-js package allows you to query via tcp and not mysql protocol
24 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
Planetscale ist based on https://vitess.io so i guess they won't support postgresql in the near future. Instead you could give https://neon.tech a try. Seems seems to be Planetscale for Postgresql. 😉
24 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
Sure, but i used planetscale as db adapter and this package is built as esm package only. So that made problems
24 replies
DTDrizzle Team
Created by macvim on 5/3/2023 in #help
RangeError: Maximum call stack size exceeded - When I try to INSERT
I guess then it‘s not related to this issue https://discord.com/channels/1043890932593987624/1092908217983578184
6 replies
DTDrizzle Team
Created by macvim on 5/3/2023 in #help
RangeError: Maximum call stack size exceeded - When I try to INSERT
@macvim Could you try to simply execute an select statement with filter like: await db.select().from(users).where(eq(users.id, 42)); If you get the same error it‘s related to https://discord.com/channels/1043890932593987624/1092908217983578184 like you mentioned
6 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
@doiská If you use it directly it get built twice i guess. And thats the same issue then like with monorepos mentioned above. Seems we need to wait for that fix.
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
Mhm and used nowhere else than inside the server ? Is the server custom made or built with any framework like nestjs ?
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
Exactly
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
Oh i see. I thought cause you mentioned the monorepo. Could you show an example how your structure looks like ?
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
You should avoid to build the package by your own with tsup or tsc
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
@doiská Could be the same issue. Do you use drizzle directly in your frameworks ?
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
I see. Good 2 know. Thank you 🙂
59 replies
DTDrizzle Team
Created by thdxr on 4/4/2023 in #help
maximum call stack exceeded
This problem is still present when I dump the drizzle package to a custom db package and build that. Then it doesn't make difference if i'm going to install it globally or not. Are there any plans to fix this issue in the near future: https://github.com/drizzle-team/drizzle-orm/issues/283
59 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
Ah alright. Great to hear. Thanks 🙂
24 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
Will it then still be compatible with cjs?
24 replies
DTDrizzle Team
Created by potato on 4/10/2023 in #help
[BUG] drizzle-kit doesn't like imports outside of a module
Had similar issues by including drizzle in nestjs
24 replies