AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Use an Embedded Schema to Validate Data Before It Is Sent to the Controller
It's like actually what we call that, where you have this use keyword and you pass in a second argument like for your controller, for your view, et cetera. And you have one called params and that's one's going to make the acto schema. And it creates this function called fetch. The fetch one, I did not quite understand what the point of that one was. That one? Yeah, just helper. You can add other function or don't use it at all. It seems like a little bit what you're doing in here now.