Skip to content

Complicated code structure reading problem when there are nested routes using Getx_pattern #279

@irayshi

Description

@irayshi

I am having trouble reading the module for my deepest folder when using the GetX pattern. The issue arises when I have a product list and want to add CRUD functionality. The folder structure ends up looking like this:

list_product/
  controllers/
  views/
  bindings/
  create_product/
    controllers/
    views/
    bindings/
  edit_product/
    controllers/
    views/
    bindings/
  detail_product/
    controllers/
    views/
    bindings/

There are too many folders, and the solution I am currently using looks like this:

product/
  list_product/
    controllers/
    views/
    bindings/
  create_product/
    controllers/
    views/
    bindings/
  edit_product/
    controllers/
    views/
    bindings/
  detail_product/
    controllers/
    views/
    bindings/

Or am I wrong in implementing the nested routes

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