Context
All my data sources share their configs except their Id.
To save lines of code i defined a partial to set the config and than just override the dataId.
Problem
The App Builder throws Errors because the partials are not considered in the static code check. This error prevents me from publishing the App. The Preview in the App Builder however works just fine.
Update The code check evaluates the partial!! See answer for more explanation.
Question
Is there any Property a DevOps can change, such that i am able to publish this “only-in-build-context” unbroken Apps?