Meant for scaffolding once and never again or incrementally? #110
-
I'm completely new to Wrapt, and a bit confused about whether or not it is intended to be used pretty much once and then never again after customizing, or can actually incrementally add new properties and generate migrations for you. The customizing Wrapt projects documentation page says the following:
But there doesn't appear to be any So the documentation implies Wrapt can be incremental and work with existing generated code (hence the markers), but is it not actually implemented or am I just missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Scaffolding files are meant to be one time use and then thrown away, not act as a source of truth. Once you've scaffolded an initial project, you can do something like 'add:entity' with an appropriate file to continue to add and extend the project but the scaffolding file is just meant to tell craftsman what boilerplate to add for you and then be thrown away. The section you mentioned about the property comment is out of date. That option was removed since adding properties wasn't a big value add for this and could be done fine by hand. I might add a flavor of it back eventually to better support FKs but for now it's not in Does that make sense? |
Beta Was this translation helpful? Give feedback.
Scaffolding files are meant to be one time use and then thrown away, not act as a source of truth. Once you've scaffolded an initial project, you can do something like 'add:entity' with an appropriate file to continue to add and extend the project but the scaffolding file is just meant to tell craftsman what boilerplate to add for you and then be thrown away.
The section you mentioned about the property comment is out of date. That option was removed since adding properties wasn't a big value add for this and could be done fine by hand. I might add a flavor of it back eventually to better support FKs but for now it's not in
Does that make sense?