Inti Pontt

Results 7 comments of Inti Pontt

I can confirm this increases my performance as well. A request that took 10s now takes 2.5s.

I'm asking because I tried following a free course that used [this repo](https://github.com/Code-Pop/from-vuex-to-pinia) as a base but ran into the weird error. The steps I took were the following: 1....

I have just tried it on librewolf. The issue was not present. ![Screenshot_1](https://user-images.githubusercontent.com/22965349/229844692-05f60f18-f5ca-4f33-a5b1-cc41e5028b1d.png) This is a comparison between two windows of firedragon, as well as firedragon's version. ![Screenshot_2](https://user-images.githubusercontent.com/22965349/229845356-da26df3b-66e0-4a71-ba5b-4285993b0e2d.png)

I think I got it but I'm not sure if it's recommended. I have to basically map over the json-serialized array of `OpenApi\Attributes\Schema` objects. It requires each OA\Property to have...

> [...] One off-topic question, though: are your schema files custom or how are they generated (Laravel questions...) Laravel does not have a direct integration with swagger so I just...

To avoid re-scanning the schemas every time that Response is initialized, I suppose I could make the resulting collection a static property, and just initialize it once, but that still...

Yeah, probably. Instead of ```php ->mapWithKeys(fn ($property, $name) => [$name => $property->default]) ``` It should be something like ```php ->mapWithKeys(function ($property, $name) { if (/* property is primitive */) return...