Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go2avro: possibility to specify the namespace? #89

Open
sneko opened this issue Jul 31, 2020 · 2 comments
Open

go2avro: possibility to specify the namespace? #89

sneko opened this issue Jul 31, 2020 · 2 comments

Comments

@sneko
Copy link

sneko commented Jul 31, 2020

Hi @rogpeppe ,

I'm using go2avro but I'm unable to specify a namespace automatically.

Since the program is for 1 type at a time, would be interesting to allow specifying the generated Avro namespace.

Thank you,

@rogpeppe
Copy link
Contributor

rogpeppe commented Aug 1, 2020

Yes, that's a reasonable idea. Feel free to submit a PR :)

As a workaround, it should be easy to add the namespace after running go2avro by editing the generated schema.

@sneko
Copy link
Author

sneko commented Aug 1, 2020

Yeah that's what I did, patching the JSON after generation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants