-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
Description
When validating an Array, a new view is always created - see here:
Line 129 in 9fd6fb0
| value = self.wrapper(value) |
This results in some strange behavior, especially with using Arrays as DynamicProperties:

I propose adding a coerce key-word argument similar to container properties:
properties/properties/base/containers.py
Lines 170 to 172 in 9fd6fb0
| * **coerce** - If False, input must be a tuple. If True, container | |
| types are coerced to a tuple and other non-container values become a | |
| length-1 tuple. Default value is False. |
coerce=False we would skip the new view creation step.
rowanc1