Skip to content
New issue

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

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

Already on GitHub? # to your account

Finish the dynamic route class #3

Open
5 tasks
tonymushah opened this issue Mar 7, 2023 · 0 comments
Open
5 tasks

Finish the dynamic route class #3

tonymushah opened this issue Mar 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tonymushah
Copy link
Owner

Goal :

On AbstractRoutes class :

  • Create a function public Set<Class<? extends StaticRoute<?>>> getStaticNestedRoutes() to get all static routes in the package folder
  • Create a function public Set<Class<? extends DynamicRoute<?>>> getDynamicNestedRoutes() to get all dynamic routes in the package folder
  • Change the actual getOutletRoute to handle these two function

getOutletRoute should :

  • returns a static route if the actual path is corresponding to a StaticRoute Class
  • returns a dynamic route if it's not corresponding to any static routes
@tonymushah tonymushah added the enhancement New feature or request label Mar 7, 2023
@tonymushah tonymushah added this to the v0.1.0 realease milestone Mar 7, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant