GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — metadata property types · Issue #85 · googleapis/google-cloud-node

metadata property types #85

New issue
Copy link
New issue
Copy link
Closed
Closed
metadata property types#85
Copy link
Assignees
pcostell
Labels
🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.
Milestone
Datastore Future

Description

@pcostell
pcostell
opened on Aug 1, 2014
Issue body actions

Right now the metadata describes a property type (string, int, etc) as a kind. This is a little overloaded with the concept of a Kind in datastore. Perhaps these could all be called type instead? Then metadata would look like:

registerKind('namespace', 'Author', {
    name: { type: STRING, indexed: false },
    tags: { type: STRING, multi: true }, // an array of string elements.
    favArticles: { type: KEY, multi: true }
    contact: {
        kind: {
          telephone: { type: STRING },
          email: { type: STRING }
        }
    }
});

Activity

Next
  1. rakyll
    added this to the This milestone has been deleted milestone on Aug 1, 2014
  2. rakyll commented on Aug 1, 2014

    @rakyll
    rakyll
    on Aug 1, 2014
    Contributor
    More actions

    Agreed, I will replace kind with type when we support schema.

  3. rakyll
    added
    enhancement
    on Aug 7, 2014
  4. stephenplusplus
    added a commit that references this issue on Aug 30, 2014

    datastore: support kind schema. fixes googleapis#85 googleapis#86

    This issue will close once commit ef45b39 is merged into the 'master' branch.
    ef45b39
  5. stephenplusplus
    changed the title [-]datastore: metadata property types[/-] [+]metadata property types[/+] on Jan 20, 2015
  6. stephenplusplus
    added
    api: datastoreIssues related to the Datastore API.
    on Jan 20, 2015
  7. jgeewax
    modified the milestones: Datastore Stable, This milestone has been deleted, Datastore Future on Feb 2, 2015
  8. stephenplusplus commented on Nov 23, 2015

    @stephenplusplus
    stephenplusplus
    on Nov 23, 2015
    Contributor
    More actions

    @pcostell obviously, a lot has changed over the last 15 months. Is there anything for me to do here?

  9. pcostell commented on Nov 23, 2015

    @pcostell
    pcostell
    on Nov 23, 2015
    ContributorAuthor
    More actions

    I don't think so. Did this metadata registration ever make it into the project?

  10. stephenplusplus commented on Nov 23, 2015

    @stephenplusplus
    stephenplusplus
    on Nov 23, 2015
    Contributor
    More actions

    Nope. In general, our library is pretty relaxed when it comes to types and validation and such. Beyond common utilities, we leave it to the user to create helpers where they make sense given their own projects and workflows. Then, where applicable, we let the API catch any errors from input mismatches.

    Datastore is arguably the most complex API we support, so I can see how it could be valuable in this case, however. What do you think? Would the majority of codebases using Datastore benefit from this concept?

  11. pcostell commented on Nov 23, 2015

    @pcostell
    pcostell
    on Nov 23, 2015
    ContributorAuthor
    More actions

    I think that would be more beneficial for a higher level, maybe 3rd party library. Or even some sort of adapter to an existing framework. I think keeping the gcloud API relatively simple is better.

  12. pcostell
    closed this as completedon Nov 23, 2015
  13. 86 remaining items

  14. sofisl
    added a commit that references this issue on Feb 25, 2026

    1.5.0 (#85)

    aeb90fe
  15. GautamSharda
    added 2 commits that reference this issue on Feb 25, 2026

    chore: release 2.2.1 (#85)

    55ef435

    Remove `use strict` (#85)

    a4b5350
  16. codyoss
    added a commit that references this issue on Mar 5, 2026

    build: use linkinator for docs test (#85)

    e5d253b
  17. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    v1.1.6 (#85)

    ea1865a
  18. sofisl
    added a commit that references this issue on Mar 5, 2026

    build: automate library with synth.py (#85)

    6604d13
  19. codyoss
    added 2 commits that reference this issue on Mar 9, 2026

    docs: add lint/fix example to contributing guide (#85)

    b501d5a

    docs: add lint/fix example to contributing guide (#85)

    807c4e0
  20. GautamSharda
    added 2 commits that reference this issue on Mar 12, 2026

    chore: move CONTRIBUTING.md to root (#85)

    344ef0b

    chore: move CONTRIBUTING.md to root (#85)

    c0ad62a
  21. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    1.5.0 (googleapis#85)

    aae80ab
  22. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    Switch src/ to use ES classes (#158)

    This issue will close once commit c46b83b is merged into the 'main' branch.
    c46b83b

    Switch src/ to use ES classes (#158)

    This issue will close once commit eb9fc1c is merged into the 'main' branch.
    eb9fc1c
  23. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    Switch src/ to use ES classes (#158)

    This issue will close once commit 4a56a10 is merged into the 'main' branch.
    4a56a10
  24. thiyaguk09
    added a commit that references this issue on May 5, 2026

    Switch src/ to use ES classes (googleapis#158)

    This issue will close once commit bddcf06 is merged into the 'main' branch.
    bddcf06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pcostell
    pcostell

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

    • Datastore FutureNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.