mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 22:42:24 +00:00
036722b275
Disallow composition in objects which cannot be created, under the rationale that creatable objects must also be immutable. WTD-1098.
23 lines
789 B
JSON
23 lines
789 B
JSON
{
|
|
"extensions": {
|
|
"policies": [
|
|
{
|
|
"category": "composition",
|
|
"implementation": "CompositionPolicy.js",
|
|
"depends": [ "$injector" ],
|
|
"message": "Objects of this type cannot contain objects of that type."
|
|
},
|
|
{
|
|
"category": "composition",
|
|
"implementation": "CompositionMutabilityPolicy.js",
|
|
"message": "Objects of this type cannot be modified."
|
|
},
|
|
{
|
|
"category": "action",
|
|
"implementation": "ComposeActionPolicy.js",
|
|
"depends": [ "$injector" ],
|
|
"message": "Objects of this type cannot contain objects of that type."
|
|
}
|
|
]
|
|
}
|
|
} |