Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting auotmatic generation of AppType from routes folder #242

Open
ElasticBottle opened this issue Dec 26, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ElasticBottle
Copy link

What is the feature you are proposing?

Playing around and loving honox!

I saw the discussion on issue #24 and wanted to suggests another angle.

Today if we want to use the RPC method, we have to use the method chaining.

This makes it awkward to use the routes folder since I have to manually construct the routes.

Was wondering if it'll be possible to have the build that's being done for honox exposed somewhere as a type? Something like the routegen.tree.ts file from tanstack router.

That way, we don't have to manually construct the router if we want to use RPC mode.

Hopefully I'm being clear, otherwise, happy to close the issue!

@ElasticBottle ElasticBottle added the enhancement New feature or request label Dec 26, 2024
@yusukebe
Copy link
Member

This is super interesting. I'll work on it if I have time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants