cli icon indicating copy to clipboard operation
cli copied to clipboard

Version module proto folder like Cosmos SDK modules

Open TraderWithPython opened this issue 1 year ago • 4 comments

Is your feature request related to a problem or issue you encountered? Please describe.

The command “ignite scaffold module” generates module directories without version numbers. However, in the SDK, module directories often include version numbers like v1 or v2. How can I achieve this with Ignite?

TraderWithPython avatar Dec 22 '23 15:12 TraderWithPython

Are you talking about migrations? Or something else?

julienrbrt avatar Dec 22 '23 19:12 julienrbrt

Are you talking about migrations? Or something else?

I referred to this document https://docs.cosmos.network/main/build/building-modules/structure. In this doc, the path includes {proto_version}. Actually, many directories in the official modules carry version directories. I'm just curious why Cosmos SDK does this? Does Ignite CLI support this?

TraderWithPython avatar Dec 24 '23 15:12 TraderWithPython

Right, so you mean proto directories. That is true that we do not version proto directories. This is something we should probably do indeed.

julienrbrt avatar Dec 27 '23 20:12 julienrbrt

Right, so you mean proto directories.

That is true that we do not version proto directories. This is something we should probably do indeed.

Thank you very much.

TraderWithPython avatar Dec 30 '23 14:12 TraderWithPython