modernice / goes

goes is an event-sourcing framework for Go.
https://goes.modernice.dev
Apache License 2.0
134 stars 12 forks source link

[MongoDB] Change field type of event data to `Object` #112

Open bounoable opened 1 year ago

bounoable commented 1 year ago

The data field of events is currently Binary. This is slightly annoying when viewing at the data within MongoDB Compass: BinData(0, "ey...."). Need to change the field type to String to be able to view the data.

I want to change the field type to Object, so the event data can be viewed and navigated in Compass.

Should be able to implement this backwards-compatible, so no migration of the event store is needed.

bounoable commented 1 year ago

This will make #31 obsolete.