-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add ability to use PathToUnderscores
in proto to Swift gen
#919
Add ability to use PathToUnderscores
in proto to Swift gen
#919
Conversation
I'd be surprised if this is the best way to get this information piped all the way to here but the aspect implementation makes it a bit odd, from my perspective. Please let me know if there's a better way and then I can update the comments/docs and add a test(s). |
f0957a3
to
a227d61
Compare
I'm supportive of being flexible here. Can you add a test so we make sure it doesn't regress? (I don't know how hard that will be since I think this is under tested now) |
PathToUnderscores
in proto to Swift genPathToUnderscores
in proto to Swift gen
Add the ability to provide `--features swift.generate_path_to_underscores_from_proto_files` to change the `FileNaming` param passed to protoc from `FullPath` to `PathToUnderscores`. Fixes bazelbuild#552.
861a532
to
cb8f9b8
Compare
…ild#919) Add the ability to provide `--features swift.generate_path_to_underscores_from_proto_files` to change the `FileNaming` param passed to protoc from `FullPath` to `PathToUnderscores`. Fixes bazelbuild#552.
Add the ability to provide
--features swift.generate_path_to_underscores_from_proto_files
to change theFileNaming
param passed to protoc fromFullPath
toPathToUnderscores
.Fixes #552.