-
Notifications
You must be signed in to change notification settings - Fork 383
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
update documentation for composability #595
Comments
And one more thing which is not mentioned anywhere in the docs
this is seen in the sample generators and from stack overflow found that this will be handled by yeoman even if we dont declare this, what does this exactly do and what are the use cases fro declaring this if yeoman handles them for all methods anyway? |
Yes and its 2 years old :( Sorry that im complaining but thats just coz of the love towards yeoman to
|
I agree that maintaining docs is hard, especially when you aren't paid to do it. If you want to take on that then please feel free to. Pull requests are always welcome. |
I can relate to you very well. I would love to do docs but the problem is I
|
This is based on discussion in yeoman/yeoman#1582
The composability feature is great and I guess it has many use cases, but the current documentation here doesnt seem sufficient to use this feature effectively, more documentation with some samples would be great,some of the areas that can be covered are as below
consider generators below
generator-foo has methods
initializing
,prompting
,default
,writing
andend
generator-bar has methods
initializing
,prompting
,default
,writing
,install
andend
generator-foo
composesgenerator-bar
in the methodinitializing
to do a task, what is the run loop order of the final context, does all the methods ofgenerator-bar
run inside theinitializing
method ofgenerator-foo
? these kind of explanation will be good so that people can optimize run order when composinggenerator-foo
composesgenerator-bar
in the methodinitializing
to do a task, how can composedgenerator-bar
reuse some common methods from the parentgenerator-foo
which is defined as helper methodsgenerator-foo
scans for certain generators which are installed and composes them dynamically at run time, this seems to work currently as i have done this, but not sure if there is a best practice** some other areas in documentation that can be improved **
this
keyword might not work as method could be triggered from another contextcc @SBoudrias
The text was updated successfully, but these errors were encountered: