We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)); };
The text was updated successfully, but these errors were encountered:
Are snapshots not stored automatically after commit?
Sorry, something went wrong.
No branches or pull requests
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));
};
The text was updated successfully, but these errors were encountered: