-
Notifications
You must be signed in to change notification settings - Fork 13
Rug should only supply one project_name implicit parameter #258
Comments
I believe this is fixed in: atomist-attic/rug-cli#85 I verified this with: https://github.com/atomist-rugs/spring-boot-rest-service
And I have a passing test in Rug that proves only one parameter is returned in the parameters list. |
No, this is not fixed. This has to be fixed inside Rug. From the generator, remove the |
Can you provide more information then please? My test case does not return duplicate parameters when we query the ProjectOperation. |
Note from @cdupuis - the bug report is wrong. This is not related to having declare the project_name in the generator, but from:
|
More precisely, I'm able to recreate the issue if you:
I suppose we should select the parameter from the first |
Don't duplicate implicit parameters in calling editor/generator #258
Thanks for the info @cdupuis @russmiles. Fixed in next release. |
If you have
project_name
parameter in your Rug generator then you end up with two as the implicit one does not override the existing one. You can see this when you describe the generator using rug-cli:The text was updated successfully, but these errors were encountered: