I'm learning about powerapps code apps and deployed some of the sample templates including the dataverse connected samples. Very exciting stuff.
My understanding and experience so far is that you explicitly have to select your environment and add the dataverse table from that environment in the IDE before pushing to your power platform environment.
My scenario is that I have a dataverse table in a seperate dev/test and prod envrionment that contains the data I need: ENV1-DEVDATA, ENV2-PRODDATA
In other seperate powerapps environments I have: ENV3-PPDEV & ENV4-PPTEST point to ENV1 via datasource environment variables
Then once migrating through managed pipelines, ENV5-PPPROD env variable points to ENV2.
With code apps, if one were to then migrate the app via managed pipelines does the Datasource environment variable appear with the dropdown selections like the normal experience?
How does one utilize an environment variable Datasource in this context?