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
In this case, import mappings command will produce mapping that contains both fields, but it would not generate an index part of the mapping for RelatedObject__c. This is silently breaking the whole mapping and RelatedObject__r__BackendUUID__c won't be added.
To Do
We need to add a validation to prevent this kind of failure. This could be done somewhere around heroku_connect.db.models.base.HerokuConnectModel.get_heroku_connect_field_mapping
A ticket to Heroku asking why this silently breaks would be also good.
The text was updated successfully, but these errors were encountered:
Description
Imagine you have the structure in your code/Salesforce like:
In this case,
import mappings
command will produce mapping that contains both fields, but it would not generate an index part of the mapping forRelatedObject__c
. This is silently breaking the whole mapping andRelatedObject__r__BackendUUID__c
won't be added.To Do
heroku_connect.db.models.base.HerokuConnectModel.get_heroku_connect_field_mapping
The text was updated successfully, but these errors were encountered: