Skip to content

Azure table is deprecated #174

Description

@FBurner

Hi there,

azuretables seem deprecated, is there a plan to support cosmos db instead?

Edit:

Cosmos DB - Tables API is not compatible with StoredEvent Attribute id,

var StoredEvent = function (event) {
this.PartitionKey = eg.EntityProperty(event.aggregateId);
this.RowKey = eg.EntityProperty(event.id);
this.aggregateId = eg.EntityProperty(event.aggregateId);
this.identifier = eg.EntityProperty(event.id);// Renamed it to be compatible with azure tables in cosmos db
this.context = eg.EntityProperty(event.context);
this.aggregate = eg.EntityProperty(event.aggregate);
this.streamRevision = eg.EntityProperty(event.streamRevision);
this.commitId = eg.EntityProperty(event.commitId);
this.commitSequence = eg.EntityProperty(event.commitSequence);
this.commitStamp = eg.EntityProperty(event.commitStamp);
this.header = eg.EntityProperty(event.header);
this.dispatched = eg.EntityProperty(event.dispatched || false);
this.payload = eg.EntityProperty(JSON.stringify(event.payload));
};

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions