Sam Carré
Sam Carré
Just an update everyone - I'm going to be tagging a beta release very soon - I want to fix all the broken tests now that the codebase is stable...
This is awesome, thanks for sharing @Gummibeer - I am still working on the Laravel side at the moment, v2 branch will currently be very broken since the changing of...
@Gummibeer I can't prove it right now, but I'm guessing you're using the `AlwaysThrowErrors` trait? If you are, that is probably the issue; in v2 - plugins are loaded first,...
The best place is probably in the “boot” method of the request. That method is run right before the request is made. Just extend the method from the base SaloonRequest...
Here is an example ```php class CreateForgeServerRequest extends SaloonRequest { //... public function boot(): void { // $data = $this->getData(); throw new ValidationException; } } ```
Hey @guiiamorim Good question. When I build SDKs I typically assume it's the developer's responsibility to input good data to make it work, and my "validation" is minimal type checking....
Just to let you know I intent to release the beta for Saloon v2 this week, the docs are still work-in-progress but all the basics are covered
The v2 beta is now ready and most of the docs are up ⬆️ https://docs.saloon.dev/v/2
Just to let everyone know, beta is coming very soon - I had some additional final changes that I really wanted to make, I've also been focusing on writing v2's...
You may have noticed from the new preview image that Saloon has moved to a connector-driven design. This was something that I can thank @Gummibeer for helping me shape up....