jezzsantos / automate

Templatize patterns from your own codebase, make them programmable, then share them with your team. https://jezzsantos.github.io/automate/
https://www.nuget.org/packages/automate
MIT License
7 stars 0 forks source link

What happens if you materialise an draft item whose parent is not materialised #78

Open jezzsantos opened 2 years ago

jezzsantos commented 2 years ago

Since we support the materialisation of a whole branch of elements in a tree, it is possible to add a leaf to this branch and have parents and ancestors that are not materialised.

Should that be allowed, or should we constrain you to be only able to materialise if your parent item is materialised? Otherwise, the other option is to allow it, but we will have to materialise your ancestors first.