cli
cli copied to clipboard
Don't generate TS/Vue clients when scaffolding
Currently, Ignite generates TS/Vue clients both when scaffolding list/map/etc and serving a chain.
Originally, that made sense, because we scaffolded forms in the Vue template and needed the chain to be in sync with the template. This is not a bad thing in itself, but I don't think this is no longer required.
I propose we decouple scaffolding from code generation. When a chain is first scaffolded, we still have the template and TS/Vue clients required for it to function properly. However, we no longer do code gen when serving and scaffolding. It's not hard to run ignite g ts-client whenever you need a client to be regenerated.
agree