-
Notifications
You must be signed in to change notification settings - Fork 153
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
epb_compatibility overrides module_name_suffix #77
Comments
I'm currently using a work around since I realized that if I simply define |
(Yes, was going to suggest that workaround as a short-term solution :) ) Hm. I was assuming the Erlang protobuffs always suffixed with Perhaps a sensible way forward would be to add (yet) an option You mentioned earlier that you were a mix of erlang_protobuffs and custom code. Is this lacking of |
I've got some code locally in which generation of functions But I'll wait a bit before pushing that, to hear your story, because I'm still confused about erlang_protobuffs and yet no |
Hm, you seem to be right. We weren't actually using epb as a dep but the modules from it for generating the encode/decode functionality and writing it to a file of our own. So it is only our use case that made this funky :). I'm fine with the workaround hack and we can close this. |
Ok. I'll close this, but I'll probably push the (I also learned something about option design: if an option is a meta-option that expands to other options, then it should only expand to other options, and not have any extra meaning of its own; such extra meaning should be broken out to separate options instead) |
I use
epb_compatibility
to tell gpb to generate theencode/1
anddecode/2
functions but now it is also forcing the suffix_pb
even if i set{module_name_suffix, "'}
. I don't think this is proper, is it?The text was updated successfully, but these errors were encountered: