AccessSchema

The access schema of an aggregate type: what its streams' attributes are derived as, the declared ones by name, each with the kind of its stored values and whether it holds many (department:string,teams:string[]), empty for none. The built-in owner and space are of every schema.

Functions

Link copied to clipboard
fun hashOf(schema: String): String

A short hash of schema, for a name.

Link copied to clipboard
fun of(model: AggregateModel<*>): String