lucky72o
lucky72o
WWasp
Created by lucky72o on 4/23/2025 in #🙋questions
How can I access a raw request?
I added a new endpoint (Wasp action). Inside my operation, I want to access a raw request and check the request header value. I couldn't find a way to do this. I tried to access the request from the Wasp context, but it is not there. This is how I define wasp action: action incrementStats { fn: import { incrementStats } from "@src/ai-forms/operations", entities: [User] } Could someone please help me with this?
9 replies
WWasp
Created by lucky72o on 4/8/2025 in #🙋questions
Question from a beginner
Hi everyone 👋 I just discovered Wasp and SaaS template. I really like it, it is super easy to build something new from scratch, and the learning curve is pretty low. I'm a BE engineer with experience primarily in Java and Go. However, thanks to your great documentation, it is not too difficult to figure out how to work with your tech stack. I plan to build my mini SaaS based on Wasp. However, I have a concern. Wasp is doing a lot of magic. It makes FE and BE work together without all the usual overhead. If, at some point, I decide to migrate away from Wasp, how difficult would it be? Does it mean that starting with Wasp today, I will have to stick to it forever? It is a new framework, so seeing what would happen with Wasp and project support in a few years is difficult. It would be great to hear thoughts on this topic 🙏
12 replies