SchemaInstantiation

org.sigilaris.core.application.module.blueprint.SchemaInstantiation

Helper object for convenient access to schema instantiation.

Attributes

Source
SchemaInstantiation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def instantiateTablesFromEntries[F[_], Path <: Tuple, Schema <: Tuple](schema: Schema)(using SchemaMapper[F, Path, Schema]): Tables[F, Schema]

Instantiate tables from a schema tuple of Entry instances.

Instantiate tables from a schema tuple of Entry instances.

This is a convenience method that delegates to the SchemaMapper typeclass.

Note: The Monad[F] and NodeStore[F] constraints are not explicitly listed here because they are required by the SchemaMapper instance itself.

Type parameters

F

the effect type

Path

the mount path tuple

Schema

the schema tuple type

Value parameters

mapper

the SchemaMapper instance (automatically derived)

schema

the runtime tuple of Entry instances

Attributes

Returns

a tuple of StateTable instances

Source
SchemaInstantiation.scala