bitwalker / bitwalker/exprotobuf

Why not transform package name to CamelCase?

Open
#89 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Elixir
Stars
482
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Currently, a package `my.under_scored.package` will be translated to `My.Under_scored.Package` in Elixir by exprotobuf.

The protobuf's official documents shows that the package name should follow underscore style while it's recommend to use CamelCase in Elixir module name.

So I think maybe `my.under_scored.package` should be translated to `My.UnderScored.Package` in Elixir.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the exprotobuf entry point that translates protobuf package names into Elixir module names, then inspect any nearby tests for package conversion. The change is done when a package such as my.under_scored.package produces My.UnderScored.Package while preserving the expected handling of other package components.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.