deb-gnocchi/releasenotes/notes/resource-type-required-attributes-f446c220d54c8eb7.yaml
Mehdi Abaakouk 5f580161cb allow required=True when patching resource type
We have currently two limitations about resource type update.

* We cannot set required=True on a new attribute
* We cannot update a attribute

This change introduces the notion of 'options' for the description of
a new attribute or an attribute to update.

And implements the first item on top of this "option".

The option added is 'fill' to known to fill all row of existing
resources with a default value.
And 'fill' is required if 'required' is set to allow new
attribute with required=True.

Change-Id: If0bd609ed586b6fbe4fe7877ece237e55baa7d45
2017-01-25 07:34:48 +01:00

7 lines
260 B
YAML

---
features:
- When updating a resource attribute, it's now possible to pass the option
'fill' for each attribute to fill existing resources.
- required=True is now supported when updating resource type. This requires
the option 'fill' to be set.