Skip to content

Make it easier to create ListValue by adding specific type flavours of ListValue.of method #886

Description

@aozarov

e.g. ListValue.of(String..), ListValue.of(double...),...

Activity

  1. ajkannan commented on Apr 9, 2016

    @ajkannan

    Right now we have this for each value type. Would ListValue.of(String...) add a lot of value?

  2. aozarov commented on Apr 10, 2016

    @aozarov
    ContributorAuthor

    Yes, the difference is that such addition would make it easy creating a list independent of an Entity when that is desired.

  3. aozarov commented on Apr 11, 2016

    @aozarov
    ContributorAuthor

    On the same note, we could even make ListValue creation easier by also supporting an overloaded
    addValue version in the Builder for each of the acceptable types.

  4. added a commit that references this issue on Oct 5, 2022
  5. 1 remaining item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo