LookupAuto

org.sigilaris.core.application.support.compiletime.LookupAuto
object LookupAuto

Inline derivation helper for Lookup.

Mirrors summonInline to preserve existing behaviour while surfacing a descriptive compile-time error when the evidence cannot be derived.

Attributes

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

Members list

Value members

Concrete methods

transparent inline def derive[Schema <: Tuple, Name <: String, K, V]: Lookup[Schema, Name, K, V]

Derives a Lookup instance, reporting a descriptive compile-time error on failure.

Derives a Lookup instance, reporting a descriptive compile-time error on failure.

Type parameters

K

the expected key type

Name

the table name to look up

Schema

the schema tuple

V

the expected value type

Attributes

Returns

a Lookup instance

Source
LookupAuto.scala