Schema top level object (defined below) with x-go-type tag is translated to type Credentials fbk.JSONObjectRaw, so custom json.Marshaler json.Unmarshaler implementation are not used and Credentials behaves like []byte. I think type aliasing should be used: type Credentials = fbk.JSONObjectRaw
Schema top level object (defined below) with x-go-type tag is translated to
type Credentials fbk.JSONObjectRaw
, so custom json.Marshaler json.Unmarshaler implementation are not used and Credentials behaves like[]byte
. I think type aliasing should be used:type Credentials = fbk.JSONObjectRaw