When corto_declareChild or corto_createChild is called with a path expression, like foo/bar, the API will recursively create foo and bar with the specified type.
When one of the steps fails, there will be no side effects (no objects will be left in the store). Additionally, in the case of corto_createChild, no DEFINE events will be generated if one of the objects fails to define.
When
corto_declareChild
orcorto_createChild
is called with a path expression, likefoo/bar
, the API will recursively createfoo
andbar
with the specified type.Example 1:
Example 2:
When one of the steps fails, there will be no side effects (no objects will be left in the store). Additionally, in the case of
corto_createChild
, noDEFINE
events will be generated if one of the objects fails to define.