Using vlingo/symbio adapters to translate between application and storage state.

Discuss the EntryAdapter and StateAdapter types...

Default Adapters

The vlingo/symbio component provides default adapters for both State and Entry types.

import io.vlingo.symbio.DefaultTextEntryAdapter;
import io.vlingo.symbio.DefaultTextStateAdapter;

Both of these are based on JSON text where the State and Entry types are TextState and EntryState, respectively. If you use a different text format other than JSON, or if you use binary, you must provide your own custom adapters. As time passes and your DomainEvent and/or Command types change, you will at that time need to replace the defaults.