My organisation is moving an increasing number of business applications into the Force platform. As systems we previously integrated outside of SFDC now move into a common environment, it feels daft not to also migrate the integration logic.
From what I've read, DX looks like the ideal way for us to manage this transition. We will be able to build a CI/CD workflow to migrate our integrations into the Force platform, testing in scratch orgs, then Sandboxes, before deploying to our main org.
My question is around how this will work with the paid apps we use. Presumably the packages themselves don't get pulled down into source, but what about our integrations which reference objects defined in these packages?
And what about different versions of an app? Do package versions become part of my source? If I wanted to test a new release, can I specify a particular version on an app in DX?