heetch / heetch/avro

undefined: avrotypegen

Open
#130 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
95
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Given the following avro
```json
{
"type": "record",
"name": "ItemEvent",
"namespace": "search.item",
"fields": [
{
"name": "id",
"type": {
"type": "string",
"logicalType": "UUID"
}
},
{
"name": "modes",
"type": {
"type": "array",
"items": {
"type": "enum",
"name": "mode",
"symbols": [
"SINGULAR"
]
}
}
}
]
}
```
And run a command like
```
avrogo -p is item-search.avsc
```

The generated code dont imports the avrotypegen module, but uses it in the code. Given the following error:
```
undefined: avrotypegen compiler[UndeclaredName](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.