Dayne
Dayne
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
Update return entity type
Thanks! I went with option 1 you listed for now and that seems to work. I haven't attempted to deploy yet so unsure of hitting this issue This is also blocking me from successfully deploying to Fly.io that KYAN1TE mentioned. I will just cross that bridge when I get there. 😄
5 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
oh! Thanks. 🙌 I can do that. I wasn't sure of the best approach.
15 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Separate queries & actions to multiple files?
Ok. I got it working with this solution: https://discord.com/channels/686873244791210014/1102320412462944286/1102320412462944286. 🎉 I also had to delete the .wasp directory and start fresh to get it to work. Is that expected?
7 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Separate queries & actions to multiple files?
No description
7 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Separate queries & actions to multiple files?
Sure! This is probably user error, but I can't seem to get the actions.js to import anything I add. 🤔 . For example, I created a /utils/actions.ts and import with import { authorizeEntityAccess } from "./utils/actions";. but getting an error on running with the import
7 replies
WWasp-lang
Created by Dayne on 12/23/2023 in #🙋questions
[SOLVED] Using Decimal type with Prisma
I just went with Float for now and it works. Open to suggestions though if others use something for this purpose.
15 replies