-
Type: Bug
-
Status: New
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Profile-YAML, Spec - Simple Profile
-
Labels:None
-
Proposal:
There is currently a big issue with the syntax of get_property, having an optional parameter as a second parameter with all parameters being of the same type is really bad practice.
Let's consider a node:
node:
properties:
toto:
type: my_complex
capabilities:
toto:
properties:
titi:
type: string
Let's say that the my_complex type has a titi field that is a string.
What do we do when we encounter a get_property that is:
get_property["node", "toto", "titi"]
Are we getting the toto's property nested field ? or the titi property of toto capability ?