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

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

Open
irayshi opened this issue Sep 24, 2024 · 0 comments

Comments

@irayshi
Copy link

irayshi commented Sep 24, 2024

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

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

No branches or pull requests

1 participant