StateManifest
class StateManifest @InternalWowApi constructor(val schema: String, val fingerprint: String? = null, val view: String? = null)
The aggregate's state: its schema, and the fingerprint a snapshot written under it carries; the fingerprint is null until the schemas are generated. In a peer contract, view is the binary name of the <State>View the api module generates of it (PeerContracts.viewsOf), which a reader finds the view by: null for a state the contract has no view of, and in a service's own Manifest.
Fields may be added: pass the constructor's arguments by name.
Functions
Link copied to clipboard
fun StateManifest.copyWith(schema: String = this.schema, fingerprint: String? = this.fingerprint, view: String? = this.view): StateManifest