e9fe5b278c
This commit clarifies, cleans and improves releasenotes for murano Co-Authored-By: Maria Zlatkova <mzlatkova@mirantis.com> Change-Id: I6591a62640f192be749c3c58a92dc00ef56dd736
12 lines
657 B
YAML
12 lines
657 B
YAML
---
|
|
features:
|
|
- Implemented a new contract function ``template()``. ``template()`` works
|
|
similar to the ``class()`` in regards to the data validation but does not
|
|
instantiate objects. Instead, the data is left in the object model
|
|
in dictionary format so that it could be instantiated later with the ``new()``
|
|
function. Additionally, the function allows excluding specified properties from
|
|
validation and from the resulting template so that they could be provided later.
|
|
Objects that are assigned to the property or argument with ``template()``
|
|
contract will be automatically converted to their object model
|
|
representation.
|