Skip to content

Commit

Permalink
Provide a Realm for fail messages
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Feb 19, 2024
1 parent 9a3fa71 commit 45c2a1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/selectable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import fulminate.*

import scala.quoted.*

given Realm = realm"polyvinyl"

trait Record[DataType](data: DataType, access: String => DataType => Any) extends Selectable:
def selectDynamic(name: String): Any = access(name)(data)

Expand Down

0 comments on commit 45c2a1e

Please sign in to comment.