Closed Bug 1340202 Opened 7 years ago Closed 6 years ago

add a __metadata to instances of Entity to expose metadata from the azure api

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jhford, Unassigned)

Details

It would be really nice if we could inspect the metadata of a loaded entity as azure sees it.  This is helpful in writing unit tests as well as in debugging.  The first bit of metadata that I would like to add is a field for the schema version of the entity.

__metadata: {
  version: 1|2|3....,
}

This could be expanded later to include other relevant information.  Maybe something equivalent to etag (or whatever equivalent that azure tables use) would also be helpful.
Found in triage.

John: is this still wanted?
Flags: needinfo?(jhford)
Probably not because we'll likely want to use Postgres instead of fixing this.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jhford)
Resolution: --- → WONTFIX
Component: Platform Libraries → Services
You need to log in before you can comment on or make changes to this bug.