commit 43c33fff9b0cc023e921d4ac3cb8a5241e38694c
Author: Thomas Spatzier <email address hidden>
Date: Wed May 21 16:36:59 2014 +0200
Respect schema data type in constraint validation
This patch makes Constraint objects aware of the data type of the
owning Schema object so constraint validation can apply potential
type casts based on the data type.
This is especially useful and necessary for an AllowedValues
constraint and numeric values, where items may be defined as
strings or numbers and cause comparison issues with user values
at runtime.
Reviewed: https:/ /review. openstack. org/94641 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=43c33fff9b0 cc023e921d4ac3c b8a5241e38694c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 43c33fff9b0cc02 3e921d4ac3cb8a5 241e38694c
Author: Thomas Spatzier <email address hidden>
Date: Wed May 21 16:36:59 2014 +0200
Respect schema data type in constraint validation
This patch makes Constraint objects aware of the data type of the
owning Schema object so constraint validation can apply potential
type casts based on the data type.
This is especially useful and necessary for an AllowedValues
constraint and numeric values, where items may be defined as
strings or numbers and cause comparison issues with user values
at runtime.
Change-Id: Id1884b4968993f c9356e7ba4ad03d ced4cd00d4e
Closes-Bug: #1321540