You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to scaffold a module with a dependency on another module you have to do the following:
ignite scaffold module foo --dep bank
This works for bank, but doesn't for feegrant, because it's it's trying to find FeegrantKeeper and fails. What it needs is FeeGrantKeeper (notice the G). Ignite has an ugly solution that works:
I propose we remove the colon syntax for --dep and ask users to provide dependencies in a capitalized form (--dep FeeGrant). We can also capitalize the first letter for convenience, so --dep bank would also work (but --dep feegrant wouldn't).
I still have the feeling it's not quite user friendly as the possible formats are not instantly clear. I added FeeGrant to the flag help because of that reason.
Currently, to scaffold a module with a dependency on another module you have to do the following:
This works for
bank
, but doesn't forfeegrant
, because it's it's trying to findFeegrantKeeper
and fails. What it needs isFeeGrantKeeper
(notice theG
). Ignite has an ugly solution that works:I propose we remove the colon syntax for
--dep
and ask users to provide dependencies in a capitalized form (--dep FeeGrant
). We can also capitalize the first letter for convenience, so--dep bank
would also work (but--dep feegrant
wouldn't).Context: #2776
The text was updated successfully, but these errors were encountered: