MerrionComputing / EventsSourcing-on-Azure-Functions

A library to demonstrate doing Event Sourcing as a data persistence mechanism for Azure Functions
MIT License
103 stars 20 forks source link

Notification - change event grid event name #27

Closed MerrionComputing closed 4 years ago

MerrionComputing commented 4 years ago

(See https://github.com/MerrionComputing/EventsSourcing-on-Azure-Functions/wiki/Notification)

Currently the event grid event name used in notifications is either "eventType": "eventsourcing.NewEntity" or "eventType": "eventsourcing.EventAppended"

In the latter case it would make more sense if the event type were made from Domain Name + Entity Type + Event Type (?) or at least have the option to choose this event naming schema.

MerrionComputing commented 4 years ago

Changed it to {domain name}.{entity type name}.{event type} - for example "Bank.Account.Money Withdrawn".