Hey, first of all congrats on the beta release of Ranger and Surveyor. The upcoming version of Wayfinder looks really promising!🔥
I dabbled with the dev-next version of Wayfinder for a little now and noticed that it can't generate types for Laravel's API Resources. Found that's because those aren't (yet) part of what Ranger collects.
Considering how commonly this feature is used, especially (but not exclusively) in projects with TypeScript frontends that are not using Inertia but would like to adopt Wayfinder anyways, I think this would be nice to support.
Of course, that would require changes in Wayfinder itself too, and perhaps in Surveyor as well.
So, if this is welcomed/planned, I could work on a PR :)
Hey, first of all congrats on the beta release of Ranger and Surveyor. The upcoming version of Wayfinder looks really promising!🔥
I dabbled with the
dev-nextversion of Wayfinder for a little now and noticed that it can't generate types for Laravel's API Resources. Found that's because those aren't (yet) part of what Ranger collects.Considering how commonly this feature is used, especially (but not exclusively) in projects with TypeScript frontends that are not using Inertia but would like to adopt Wayfinder anyways, I think this would be nice to support.
Of course, that would require changes in Wayfinder itself too, and perhaps in Surveyor as well.
So, if this is welcomed/planned, I could work on a PR :)