-
Notifications
You must be signed in to change notification settings - Fork 0
Description
What is this feature about?
Events contain a hash value, but currently this SDK does not support verifying this hash. We should change this. What we need to do for this is add a verify_hash
function on the event.
The Go implementation is a good reference to get started with the method: https://github.com/thenativeweb/eventsourcingdb-client-golang/blob/main/eventsourcingdb/event.go#L30-L55
Also, it makes sense to build the tests in the same way: https://github.com/thenativeweb/eventsourcingdb-client-golang/blob/main/eventsourcingdb/event_test.go#L17-L96
What needs to be done to implement this feature?
- Implement the
verify_hash
method - Add tests
- Update the SDK documentation (leave this to @goloroden)
- Update the ESDB documentation (leave this to @goloroden)