louneskmt
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
been trying drizzle but i always use raw sql
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
i don't use ORMs, that must be why haha
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
but tbh i've never been in a situation where this is a problem
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
i understand
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
mmh i see
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
why is it a problem to have properties that are undefined?
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
yes
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
it's the same as doing directly this?
{x, y, z}
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
then use a Map?
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
ah, you mean for the map
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
i don't really see where the pain is?
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
well, that's a problem but solely due to the library
49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
life is so much easier since i've dropped using
null
in my projects49 replies
DTDrizzle Team
•Created by louneskmt on 9/15/2023 in #help
Any way to replace null by undefined?
that would apply to bare javascript, but i think it's a bit different for ts. most of the time objects are typed so you can't access a non-existing property. we don't really need
null
in TS49 replies