Currently datastore.get would return `callback(null #error, undefined #key, undefined #entity), when entity is not found.
I think it would be more useful for the developer to provide a more explicit hint that the entity was not found (either through a dedicated error or some more structured result value).
As a reference the underlying RPC returns found and missing arrays.
Currently
datastore.getwould return `callback(null #error, undefined #key, undefined #entity), when entity is not found.I think it would be more useful for the developer to provide a more explicit hint that the entity was not found (either through a dedicated error or some more structured result value).
As a reference the underlying RPC returns
foundandmissingarrays.