protect service data for changes in calls (#3249)

* protect service data for changes in calls

* change handling

* move MappingProxyType to service call
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2016-09-07 08:19:19 -07:00
1 parent 32c234ffcc
commit e632a47772
1 file changed
+1
+1
View File
@@ -581,6 +581,7 @@ class Service(object):
try:
if self.schema:
call.data = self.schema(call.data)
call.data = MappingProxyType(call.data)
self.func(call)
except vol.MultipleInvalid as ex: