Related to #540, for cases where a template is being expanded into a property with existing assets. It would be a good feature to specify where the insertion actually happened. In the most simple case, we could support a prepend/append, property on the template object. However, if there are multiple existing assets we wouldn't be able to insert the expanded template in between the two elements so we may need to support expansion based on index? This also opens the door for conflicts in insertion from multiple templates because the order in which the templates are expanded is also not controllable via content so that is another parameter that might need to get added.
TODO:
[ ] Determine scope of how to allow templates to specify where they should be expanded to
[ ] Determine scope of how to allow templates to specify what order they should be executed in
Related to #540, for cases where a template is being expanded into a property with existing assets. It would be a good feature to specify where the insertion actually happened. In the most simple case, we could support a prepend/append, property on the
template
object. However, if there are multiple existing assets we wouldn't be able to insert the expanded template in between the two elements so we may need to support expansion based on index? This also opens the door for conflicts in insertion from multiple templates because the order in which the templates are expanded is also not controllable via content so that is another parameter that might need to get added.TODO: