We should have a defaultConnection() type static method in all the SDKs that uses localhost by default but, if some file path/env vars/etc are provided, will use those to connect to cloud.
Idea being people can run all our samples easily locally, and then make this ~/.config/temporalconnection file or whatever and boom now it switches to connecting to cloud.
Describe the solution you'd like
From Spencer and Maxim:
We should have a defaultConnection() type static method in all the SDKs that uses localhost by default but, if some file path/env vars/etc are provided, will use those to connect to cloud.
Idea being people can run all our samples easily locally, and then make this
~/.config/temporalconnection
file or whatever and boom now it switches to connecting to cloud.Per-SDK Tickets
Samples Tickets