Adding ItemPropertySchema's with conflicting types through bulk should throw an error
Calling bulk API with the following payload:
{'createItems': [{'itemType': 'EmailMessage',
'propertyName': 'starred',
'type': 'ItemPropertySchema',
'valueType': 'Bool'},
{'itemType': 'EmailMessage',
'propertyName': 'type',
'type': 'ItemPropertySchema',
'valueType': 'Text'},
{'itemType': 'Account',
'propertyName': 'starred',
'type': 'ItemPropertySchema',
'valueType': 'Text'},
{'itemType': 'Account',
'propertyName': 'type',
'type': 'ItemPropertySchema',
'valueType': 'Text'}]}
ie, {'propertyName': 'starred', 'valueType': 'Text'}
and {'propertyName': 'starred', 'valueType': 'Bool'}
in the same call.
This should throw an error due to inconsistent types, but doesn't. 2 separate calls to the bulk API do throw an error as expected.
┆Issue is synchronized with this Clickup task by Unito