8000 Generate controller annotated props · Issue #5 · andresgutgon/wayfinder_ex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Generate controller annotated props #5
Open
@andresgutgon

Description

@andresgutgon

What?

This package is focused on URL generation but I saw value on adding a little DSL on the Phoenix controllers to annotate what props are sent to frontend frameworks like Inertia.js.

The idea is that the user annotate somehow that the props sent to the inertia pages have cerntain shape and this shape will be transformed from elixir to typescript types

then it can be imported to be used as props in the inertia page on the frontend part. For example on a React page component.

The idea is to have fully typed history bewteen controllers and frontend frameworks so we can have
URL and Props interoperability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0