GroupId

org.sigilaris.core.application.feature.group.domain.GroupTypes$package.GroupId

Companion for GroupId, providing construction, codecs, and conversions.

Attributes

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

Members list

Value members

Concrete methods

def apply(utf8: Utf8): Either[String, GroupId]

Attributes

Source
GroupTypes.scala
def fromString(value: String): Either[String, GroupId]

Attributes

Source
GroupTypes.scala
def unsafeFromString(value: String): GroupId

Attributes

Source
GroupTypes.scala

Inherited methods

protected def decodeJsonKeyRepr(repr: Utf8): Either[DecodeFailure, GroupId]
def unsafe(repr: Utf8): GroupId

Attributes

Inherited from:
ValidatedOpaqueValueCompanion
Source
OpaqueValueCompanion.scala

Extensions

Extensions

extension (g: GroupId)
inline def toUtf8: Utf8

Converts this GroupId back to its underlying Utf8 representation.

Converts this GroupId back to its underlying Utf8 representation.

Attributes

Returns

the UTF-8 string

Source
GroupTypes.scala

Inherited extensions

extension (value: GroupId)
def repr: Utf8

Attributes

Inherited from:
ValidatedOpaqueValueCompanion
Source
OpaqueValueCompanion.scala