You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve validation schema for list_or_dict fields #2008
Right now extra_hosts and labels use "one of: object or array", but no validation is done on the contents of the object.
I think this can be improved by creating a schema for the object that uses patternProperties, so that it will fail if someone uses nested objects, or arrays within the object.
Activity
dnephin commentedon Sep 8, 2015
Apparently you've already have a fix for this in #2000!
[-]Improve validation schema for environment field[/-][+]Improve validation schema for list_or_dict fields[/+]dnephin commentedon Sep 8, 2015
I've updated this issue to be about the
list_or_dictschema, since it has the same issue, and isn't fixed by #2000Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types
Fixes docker#2008 - re-use list_or_dict schema for all the types