vlingo / xoom-symbio

The VLINGO XOOM platform SDK delivering Reactive storage that is scalable, high-throughput, and resilient for CQRS, Event Sourcing, Key-Value, and Objects used by services and applications.
https://vlingo.io
Mozilla Public License 2.0
40 stars 9 forks source link

Make State Data Optional #17

Closed VaughnVernon closed 5 years ago

VaughnVernon commented 5 years ago

Currently the State::metadata()::object() may or may not be available. The current contract is to check for null. Implement the means to check for presence/absence using Optional.

VaughnVernon commented 5 years ago

Fixed by:

https://github.com/vlingo/vlingo-symbio/commit/d6cdd6803b14ae933e1125c65563760f3d7cf98a

And:

https://github.com/vlingo/vlingo-lattice/commit/955948b17e64cc8209c68067def733978461860e

https://github.com/vlingo/vlingo-lattice/commit/9fdc84fa944a26a2f2ed77867f8b9f0b1b36331a