My app has some custom fields on an object which is a part of a packaged app (so this is a namespaced-object, in the namespace
When trying to push the code with SFDX into scratch org, I've getting the following error:
$ sfdx force:source:push -u cpq-scr-1 force-app/main/default/objects/bt_stripe__Transaction__c.object-meta.xml Must specify a non-empty label for the CustomObject
The object definition XML-s doesn't have label definition, as they are defined already in the package.
For example, force-app/main/default/objects/bt_stripe__Transaction__c.object-meta.xml:
<?xml version="1.0" encoding="UTF-8"?> <CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"/>
Apparently, SFDX doesn't recognise that these objects definitions are special and wants to deploy them as they would be 'normal'. Any ideas how to deploy such an object definition?