{"action":"created","issue":{"url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/73","repository_url":"https://api.github.com/repos/tomas-abrahamsson/gpb","labels_url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/73/comments","events_url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/73/events","html_url":"https://github.com/tomas-abrahamsson/gpb/issues/73","id":171017611,"number":73,"title":"Record Names","user":{"login":"tsloughter","id":36227,"avatar_url":"https://avatars.githubusercontent.com/u/36227?v=3","gravatar_id":"","url":"https://api.github.com/users/tsloughter","html_url":"https://github.com/tsloughter","followers_url":"https://api.github.com/users/tsloughter/followers","following_url":"https://api.github.com/users/tsloughter/following{/other_user}","gists_url":"https://api.github.com/users/tsloughter/gists{/gist_id}","starred_url":"https://api.github.com/users/tsloughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsloughter/subscriptions","organizations_url":"https://api.github.com/users/tsloughter/orgs","repos_url":"https://api.github.com/users/tsloughter/repos","events_url":"https://api.github.com/users/tsloughter/events{/privacy}","received_events_url":"https://api.github.com/users/tsloughter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-13T17:04:48Z","updated_at":"2016-08-13T22:59:13Z","closed_at":null,"body":"Is there a way to specify the record name for a message or to set a formatter besides suffix/prefix/lowercase?\r\n\r\nSpecifically I'd like to have the message `CamelCase` become the record `#camel_case{}` instead of `#camelcase{}`.\r\n\r\nDigging around in the code this does not seem to be supported, would it be an acceptable contribution? "},"comment":{"url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/comments/239646044","html_url":"https://github.com/tomas-abrahamsson/gpb/issues/73#issuecomment-239646044","issue_url":"https://api.github.com/repos/tomas-abrahamsson/gpb/issues/73","id":239646044,"user":{"login":"tomas-abrahamsson","id":850307,"avatar_url":"https://avatars.githubusercontent.com/u/850307?v=3","gravatar_id":"","url":"https://api.github.com/users/tomas-abrahamsson","html_url":"https://github.com/tomas-abrahamsson","followers_url":"https://api.github.com/users/tomas-abrahamsson/followers","following_url":"https://api.github.com/users/tomas-abrahamsson/following{/other_user}","gists_url":"https://api.github.com/users/tomas-abrahamsson/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-abrahamsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-abrahamsson/subscriptions","organizations_url":"https://api.github.com/users/tomas-abrahamsson/orgs","repos_url":"https://api.github.com/users/tomas-abrahamsson/repos","events_url":"https://api.github.com/users/tomas-abrahamsson/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-abrahamsson/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T22:59:13Z","updated_at":"2016-08-13T22:59:13Z","body":"It would certainly be acceptable, and you're right there currently does not exist something to provide this.\r\n\r\nI'm thinking it could either be a `snake_case` option (or something) or an option to set a more general transformation function. For the snake_case alternative, I think it would not conflict with any existing option, if we would say it implies `msg_name_to_lower`. For a more general transformation option, one would have to consider interaction with other options (such as `msg_name_to_lower` and `msg_name_prefix`), perhaps the easiest would be to say this is an error and that the options are mutually exclusive. A `snake_case` option could easily also be a command line option, whereas a more general transform is not."}}
{"actor":{"display_login":"tomas-abrahamsson"}}