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
In the go generate phase produces a my_name.go with a struct named my_name but the template in generateRegistry.go will create a declaration like this:
var my_name MyName
Because is used function {{camel .}} that removes the underscores.
The current workaround is to remove underscores from names.
The text was updated successfully, but these errors were encountered:
ugol
changed the title
Compile fails when a schema avsc has a record name with underscores in it
bug: Compile fails when a schema avsc has a record name with underscores in it
Aug 22, 2024
An Avro schema with underscores in the name of record brakes the compile, eg:
In the go generate phase produces a my_name.go with a struct named my_name but the template in generateRegistry.go will create a declaration like this:
var my_name MyName
Because is used function
{{camel .}}
that removes the underscores.The current workaround is to remove underscores from names.
The text was updated successfully, but these errors were encountered: