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 generated Haskell, the record name for the field song_name should be songName, and the generated constructors for the Foo enum should be FirstValue and SecondValue.
This is to be consistent with the conventional style that is used in Haskell.
I like the proposal, looks good. One thing to note is that when implementing this, person needs to provide a flag --no-camelcase to hprotoc that would keep old behavior for people who have large code-bases and no motivation for the change
In the generated Haskell, the record name for the field
song_name
should besongName
, and the generated constructors for theFoo
enum should beFirstValue
andSecondValue
.This is to be consistent with the conventional style that is used in Haskell.
Note that a similar conversion is done in the official Java protocol buffers library. See https://developers.google.com/protocol-buffers/docs/style
The text was updated successfully, but these errors were encountered: