You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to parse the following avro schema:
{
"namespace": "com.compass.common.entities.v1",
"name": "ResourceRef",
"type": "record",
"doc": "Representation of a specific resource with its id and its type",
"fields": [
{
"name": "resourceId",
"type": {
"type": "string",
"avro.java.string": "String"
}
},
{
"name": "resourceType",
"type": "com.compass.common.entities.v1.ResourceType"
}
]
}
My go code that does the parsing:
schema, err := compiler.ParseSchema(byteValue)
if err != nil {
log.Fatalf("failed to parse schema", err)
}
When that code is executed, I get the following error:
ailed to parse schema%!(EXTRA *errors.errorString=Unable to resolve type reference com.compass.common.entities.v1.ResourceType)
I'm wondering if this library supports parsing custom types? Any guidance would be appreciated.
Thank you,
The text was updated successfully, but these errors were encountered:
Hi,
I'm attempting to parse the following avro schema:
My go code that does the parsing:
When that code is executed, I get the following error:
I'm wondering if this library supports parsing custom types? Any guidance would be appreciated.
Thank you,
The text was updated successfully, but these errors were encountered: