-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implement a recipeModule manager #4
Comments
AppInfo in the init function:
Edit:
|
If a recipe is being built on top of another one, how can its
|
Router: #12 |
We should not actually take care of any redirection, that would break customer's app. We should simply inform the router that we do not are not responsible for this route. The router will take care of managing the rest of the routing accordingly. New proposition to optimise a little bit and make sure we do not loop over routes if we know already that the Case
Case no
|
Maybe we can rename |
Make sense! Good catch.
Makes sense. I have updated my original comment to point to your routing algo.
How about |
Should be responsible for:
Provide routing functionality. The algorithm is here.
Has a way for any module to get the
appInfo
if needed.Has an init function that takes:
recipeList
: RecipeModule[]Provides an abstract
recipeModule
class that modules mustextend
:websiteBasePath
).rId
. TherId
will be an argument to the constructor.Recipe modules must be build such that parent recipe's
rId
can be propagated to them. This is howThe text was updated successfully, but these errors were encountered: