auto_route_library icon indicating copy to clipboard operation
auto_route_library copied to clipboard

Created option on router to toggle args generation

Open carlosfiori opened this issue 2 years ago • 11 comments

Fixes #510

carlosfiori avatar Nov 30 '21 12:11 carlosfiori

@Milad-Akarie

carlosfiori avatar Dec 02 '21 18:12 carlosfiori

@Milad-Akarie can you review? I created this flag to have the ability to generate the args in a separated package, and export them

carlosfiori avatar Dec 14 '21 17:12 carlosfiori

@Milad-Akarie

carlosfiori avatar Jan 03 '22 12:01 carlosfiori

Just added some docs about this new flag in the README, @Milad-Akarie can you review?

carlosfiori avatar Feb 16 '22 17:02 carlosfiori

hey @carlosfiori I'm really sorry for my late reply. I don't understand how the router would work without the arguments. can you please explain it to me.

Milad-Akarie avatar Mar 10 '22 12:03 Milad-Akarie

Hi @Milad-Akarie thanks for reply

In this case, I have two app routers, one in a micro app (subpackage) and another outside. Both generates routes, but only the micro app router generate args The outside app routers are responsible to make navigation between micro apps and the one from micro app is responsible to navigate internally. The args generated by the micro app is exported and when need used by the outside app router. If is generated in both app routers, the error below can occur

image

carlosfiori avatar Mar 15 '22 14:03 carlosfiori

Hi @Milad-Akarie Basically in one app router will generate args and the other will not Other people are also facing this issue as in #510

carlosfiori avatar Apr 11 '22 15:04 carlosfiori

Hi @Milad-Akarie, I just update this PR with latest master.. Was I able to explain the need for this functionality? Was there any doubt?

carlosfiori avatar May 13 '22 14:05 carlosfiori

Hi @Milad-Akarie, I just update this PR with latest master.. Was I able to explain the need for this functionality? Was there any doubt?

carlosfiori avatar Jul 14 '22 14:07 carlosfiori

@Milad-Akarie

carlosfiori avatar Aug 03 '22 12:08 carlosfiori

Hi @Milad-Akarie, could you review this please?

carlosfiori avatar Sep 19 '22 17:09 carlosfiori

Any update? @Milad-Akarie

pedromneto97 avatar Nov 30 '22 20:11 pedromneto97