Skip to content

Don't unwrap automatically for Number to Datastore Types #760

Open
@crwilcox

Description

@crwilcox

Related to #754, #759

Remove auto inference of Numbers. This is a 'foot-gun' in the library and we should encourage usage of datastore.double and datastore.int so the library doesn't choose poorly.

This is for sure used in Save and Query today.

Note: breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: datastoreIssues related to the googleapis/nodejs-datastore API.next major: breaking changethis is a change that we should wait to bundle into the next major versionpriority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions