teal-src/util/datamapper.tl
changeset 12780 4715301a3504
parent 12584 a9dbf657c894
child 12786 8815d3090928
equal deleted inserted replaced
12779:1dd468c63a3d 12780:4715301a3504
   129 		if propschema["const"] then
   129 		if propschema["const"] then
   130 			enums = { propschema["const"] }
   130 			enums = { propschema["const"] }
   131 		elseif propschema["enum"] then
   131 		elseif propschema["enum"] then
   132 			enums = propschema["enum"]
   132 			enums = propschema["enum"]
   133 		end
   133 		end
   134 	end
       
   135 
       
   136 	if current_ns == "urn:xmpp:reactions:0" and name == "reactions" then
       
   137 		assert(proptype=="array")
       
   138 	end
   134 	end
   139 
   135 
   140 	return proptype, value_where, name, namespace, prefix, single_attribute, enums
   136 	return proptype, value_where, name, namespace, prefix, single_attribute, enums
   141 end
   137 end
   142 
   138