Skip to content

Entity should not require a Key #471

@dhermes

Description

@dhermes

Relates to
https://docs.google.com/document/d/1xKw8Tz6lfN5uOcv0my4uUgFSeDoRzwCLho2UGlBpqDU/edit

From the spec:

An entity must have a key, unless otherwise documented (for example, an entity in
<code>Value.entityValue</code> may have no key). An entity's kind is its key's path's
last element's kind, or null if it has no key.

Though not required, we should be opinionated (in the constructor) about when it's not necessary if possible.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions