-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: add open-by-name functions to all APIs #1174
Comments
Can you give a concrete example of what this would look like in a particular case? |
Right, #1145 looks like a useful example of this. |
I didn't have anything specific in mind, just wanted to see an example. |
I'm against doing this now, for several reasons:
|
Unavailability of this feature blocks users who want to create a Twelve-Factor Application (specifically IV. Backing Services). They would need to roll their own solution, which I think would make supporting infrastructure around Go CDK-based applications hard to work with. I think Go CDK having an opinion helps here. |
Updates google#931 Updates google#1174
Design discussion in google#1209. Updates google#1174
Per discussions, @zombiezen is doing this for |
Cuts out about half the tutorial to get to the punchline. Updates google#1174
(This grew out of #931 and is now a larger effort, so opening a bigger-scoped issue.)
A very common use case when developing a portable application is to want to use a local implementation for development and then use the real implementation in production. Commonly, developers don't want to have two different build configurations to do this: they just want to be able to change by command-line flag. Right now, this is difficult to do: every application using Go Cloud would have to develop their own mechanism for specifying which provider resource they want to use. (This would be similar to SQL connection strings, but I think we want to keep credentials explicitly passed.)
I'm going to iterate on the blob URL-opening API, and once that gets to a place we're happy with, then I'd like to duplicate the API for our other portable APIs (pub/sub, secrets, runtimevar, and SQL).
The text was updated successfully, but these errors were encountered: