diplomat
diplomat copied to clipboard
Elixir library for interacting with Google's Cloud Datastore
Hello 👋 , It seems that the RPC API exposes cursors for both [`EntityResult`](https://cloud.google.com/datastore/docs/reference/data/rpc/google.datastore.v1beta3#entityresult) and [`QueryResultBatch`](https://cloud.google.com/datastore/docs/reference/data/rpc/google.datastore.v1beta3#queryresultbatch) but we seem to be [discarding them here](https://github.com/peburrows/diplomat/blob/master/lib/diplomat/client.ex#L93). Ofc, that alone wouldn't be enough...
As the title says. 1. is this already supported by diplomat and I am just to dumb to find it? 2. otherwise would it be possible to implement it without...
Also includes one additional commit which fixes a typespec
According to Hex, `Diplomat.Entity.insert/1`'s spec is: ```elixir insert([t()] | t()) :: {:ok, Diplomat.Key.t()} | Diplomat.Client.error() ``` However, it seems that it returns `[Diplomat.Key.t()]` when success. I think it should return...
Once [River](https://github.com/peburrows/river) is ready, we'll use that as the basis for our gRPC support.
Is there a better way to find something by a name/id? This below works, but seems like the named parameter way should work too. ```ex def find(email) do # Works...
One should be able to use Diplomat as an Ecto adapter for Datastore. Lots of work to do here, especially around query generation and all that, but once we get...
Attempting to push something like: ```elixir %{"my.key" => "value"} ``` Will result in the following error: ```elixir {:error, %Diplomat.Proto.Status{code: 3, details: [], message: "property.name contains a path delimiter, \ and...
Addresses #54. I'm not sure that the schema assumptions I made are correct but they work for me. Additionally, some libraries have been upgraded and tweaks made to allow the...