-
-
Notifications
You must be signed in to change notification settings - Fork 653
Open
Description
The generator system will be used to create types for various things. It includes
- Scanning Inertia pages and creating a types file for them. This action should run anytime a file is changed inside the
inertia/pages
directory. - Creating types for registered routes. This action should run every time the HTTP server is restarted (so we can use the
start
method from the providers) - Creating the frontend routes client for creating URLs. This action should run every time the HTTP server is restarted.
- Creating an index file with lazy imported controllers. It will cleanup the imports inside the routes file. This action should run anytime files are changed inside the controllers directory with the ability to specify a custom source for controllers.
- Creating types for HTTP transformers. This action should run anytime a file is changed inside the
app/transformers
directory.
Updates
- Added RoutesScanner
- Added IndexGenerator and integrate it with the DevServer and the TestRunner
Related commits and PRs
SyahmiRafsan and muco-rolle
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In progress