Zeko369
Zeko369
WWasp-lang
Created by ldeavila on 3/6/2024 in #🙋questions
Best place to share experiences and/or feedback?
You'll be able to post after you do that
5 replies
WWasp-lang
Created by ldeavila on 3/6/2024 in #🙋questions
Best place to share experiences and/or feedback?
Hmm, seams like you didn't introduce yourself in #👋introductions
5 replies
WWasp-lang
Created by ldeavila on 3/6/2024 in #🙋questions
Best place to share experiences and/or feedback?
Here or in #💡feature-suggestions or #🚀open-saas depending on the type
5 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
On the superJSON side it's quite easy
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
Also this should be doable in Userland 🤔 , since SuperJSON is a singleton instance that could be used from anywhere
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
@Filip just a note on that -> https://github.com/blitz-js/superjson#recipes
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
Yeah, for that usecase Decimal would be way better than float / hacky int conversion
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
If you have 7min, take a look why https://www.youtube.com/watch?v=fhwEFZ34c7g
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
Not really the exact answer you want to hear, but you should never be storing currency amounts in decimals/floats, since you could end up with rounding errors and money rounding errors -> BAD You should be just storing it in cents (so 1000, for 10,00), you'll still end up with rounding errors if you're doing converions but you'd have that problem either way
15 replies
WWasp-lang
Created by Jack on 10/7/2023 in #🙋questions
Apple silicon
By wasp you mean wasp for web and not actually trying to build waspc-compiler itself (haskel project from our github)?
5 replies
WWasp-lang
Created by Chris Paliqaw on 9/15/2023 in #🙋questions
Non-cloud deployment?
Quite easy, since wasp can be built as a docker container and just hosted on any linux os
4 replies
WWasp-lang
Created by SoyMilkIsOk on 5/29/2023 in #🙋questions
Wildcard routes for 404/not found redirects?
😂😂😂😂
19 replies
WWasp-lang
Created by SoyMilkIsOk on 5/29/2023 in #🙋questions
Wildcard routes for 404/not found redirects?
😜
19 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
and not with railways URL since railway run esentially does the same thing
20 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
Pretty sure this was the error with how wasp was loading the envs?
20 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
Nope, .env.server is just an ENV file that your local server loads in dev
20 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
And that command will be run with servers ENV
20 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
You can install their CLI, connect to the project and then do railway run "whatver command you want"
20 replies
WWasp-lang
Created by wasper on 5/29/2023 in #🙋questions
How can I seed my production?
if you're using railway
20 replies