Skip to content

Support for API Resources #9

Description

@ace-of-aces

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions