org.sigilaris.core.assembly.EntrySyntax
String interpolator helpers for declaring org.sigilaris.core.application.state.Entry values.
Provides the entry interpolator for creating Entry instances with compile-time string literal extraction:
val usersEntry = entry"users"[String, User]
// Equivalent to: Entry["users", String, User]
The interpolator ensures the table name is a literal string (not an expression), preserving type-level information for schema validation.
Attributes
-
See also
-
-
Source
-
EntrySyntax.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Builder that captures a compile-time table name and creates an Entry when key and value types are supplied.
Builder that captures a compile-time table name and creates an Entry when key and value types are supplied.
Type parameters
-
Name
-
the singleton string literal representing the table name
Attributes
-
Source
-
EntrySyntax.scala
-
Supertypes
-
class Object
trait Matchable
class Any
String interpolator that creates an EntryBuilder from a literal table name.
String interpolator that creates an EntryBuilder from a literal table name.
Usage: entry"tableName"[K, V] produces an Entry["tableName", K, V]. Only literal strings are accepted; spliced expressions cause a compile-time error.
Value parameters
-
args
-
interpolation arguments (must be empty; expressions are not supported)
Attributes
-
Returns
-
an EntryBuilder parameterised with the literal table name
-
Source
-
EntrySyntax.scala