DIDSubjectQ

fmgp.did.DIDSubject$package.DIDSubjectQ
object DIDSubjectQ

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(s: String): DIDSubjectQ

unsave TODO rename to maybe instead of apply

unsave TODO rename to maybe instead of apply

Attributes

Throws
AssertionError

if not a valid DIDSubjectQ

def either(s: String): Either[FailToParse, DIDSubjectQ]
inline def parseString(id: String): (String, String, String)

Attributes

Throws
AssertionError

if not a valid DIDSubjectQ

Concrete fields

val pattern: Regex

https://www.regextester.com/15

https://www.regextester.com/15

MATCH:
did:m:s?q
did:m:s
did:m:s?
did:m:s????

DO NOT MATCH:
did:m:s?q#f
did:m:s#
did:m:s#f
did:m:s/p?q#f

Attributes

Givens

Givens

given decoder: JsonDecoder[DIDSubjectQ]
given encoder: JsonEncoder[DIDSubjectQ]

This SHOULD NOT BE an implicit conversion

This SHOULD NOT BE an implicit conversion

FIXME DIDSubjectQ (DID with Query) is should probably not be a DID!

Attributes

Extensions

Extensions

extension (id: DIDSubjectQ)
inline def inline_namespace: String
inline def query: String
inline def sameSubject(that: DIDSubject): Boolean
inline def sameSubjectQ(that: DIDSubjectQ): Boolean
inline def subject: String
def toDID: DID