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
// if we get there, then something in this code is wrong
38
+
}elseif(propertiesWithSameTarget.length===1){
39
+
// all good
40
+
}else{
41
+
// two or more properties are mapped to the same property
42
+
return{
43
+
res: false,
44
+
err: newPropertyMappingNameConflictError(`Multiple remapped properties (${propertiesWithSameTarget.map(x=>x.toString()).toString()}) may not share the same name.`),
45
+
};
46
+
}
47
+
}
48
+
// remapped properties may not have the same name as any original property
return`Error in conversion rule "${this.toString()}": property may not be empty and only contain letters and underscores.`;
141
+
return{
142
+
res: false,
143
+
err: newPropertyMappingValidationError(`Error in property mapping "${this.toString()}": property may not be empty and only contain letters and underscores.`),
return`Error in conversion rule "${this.toString()}": new property may not be empty and only contain letters and underscores.`;
148
+
return{
149
+
res: false,
150
+
err: newPropertyMappingValidationError(`Error in property mapping "${this.toString()}": new property may not be empty and only contain letters and underscores.`),
0 commit comments