Skip to content

Supporting auotmatic generation of AppType from routes folder #242

@ElasticBottle

Description

@ElasticBottle

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions