kordos commented on pull request #1578:
URL: https://github.com/apache/avro/pull/1578#issuecomment-1062680028
> In the future a directory mapping feature might extend avrogen to your
use: `--directory-alias DIR:ALIAS`
>
> So your execution could be: `avrogen -s example.avsc . --directory-alias
org/apache/avro:org.apache.avro` the rest of the namespace sub directories
would be automatically generated. Pretty much bfore creating the directory the
aliases are replaced in the outputDIr in the `WriteTypes` function
I like your idea with `--directory-alias` parameter as it is more flexible
and I think it would be nice to introduce that in future.
However as it is a bit more complex solution to develop and use in command
line I'd like to stay with my simple option that allow to completely skip
creation of directories.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]