I'm using fake_dynamo to test against a stub server locally, so I wanted to connect to something outside the list of known hosts.
It seems there's already a backwards-compatibility issue with create() that prevents overloading it with a specific host, so I added an alternative method createForHost() and tunneled the existing create() through it. I'm open to other suggestions though.
Added Account.getForHost to specify a non-amazon host and non-default…
… port (e.g for a local dynamo fake)
hey @gfxmonk, sorry to take so long on this.
i'm pulling the core dynamo logic out into its own library, which i probably should've done from the get-go. the new API is like this:
db = dynamo.createClient(host, [credentials])
so, if you're using the low-level API, you should probably use that instead, since it'll let you use any arbitrary host.
(i'll be building a better high-level API on top of the new library now, which will replace this one.)
Cool. I'm using the high-level API so I'll just use my fork for now, but glad to know it's in the works :)
I wish I had this into the dynamo current version.