fogfish / dynamo

Generic Golang Key/Value trait for AWS storage services
MIT License
18 stars 5 forks source link

Incompatibility of Identity #52

Closed fogfish closed 2 years ago

fogfish commented 2 years ago

Identity function is implemented as

func (x *myType) Identity() (string, string) {
    return curie.IRI(x.ID).String(), curie.IRI(x.Suffix).String() 
}

String encoding preserves : (e.g. u:abc). It becomes difficult to handle as S3. S3 requires conversion of type to path (e.g. u/abc/).

fogfish commented 2 years ago

fixed by #55