TBD54566975 / web5-go

Apache License 2.0
7 stars 6 forks source link

Add mixed type to Document Service Endpoints #102

Closed KendallWeihe closed 4 months ago

KendallWeihe commented 4 months ago

Originally spurred here https://github.com/TBD54566975/web5-go/issues/92#issuecomment-1973398856

From the spec:

The value of the serviceEndpoint property MUST be a string, a map, or a set composed of one or more strings and/or maps.

So it can either be a string, a map, or a set of strings & maps

See this ticket for how this was implemented for the @context property

KendallWeihe commented 4 months ago

Closing in favor or https://github.com/TBD54566975/web5-go/issues/109