Skip to content

Unable to get entity by key id (int64) from Datastore #1412

@gromtech

Description

@gromtech

For example, datastore already contains an entity with id = 100000000000001234 (18 digits). The integers in JavaScript (numbers without a period or exponent notation) are considered accurate up to 15 digits. 100000000000001234 will be 100000000000001000. Maybe the Long type support (in the cloud.datastore.key method) is a way how to resolve this issue.

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.priority: p0Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions