Include the package name as a constant
- Dominant language
- Dart
- Stars
- 572
- Forks
- 196
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 2
Description
Hello,
Would it be possible to include the package name as a Dart constant?
For a project which uses Protobuf there is a versioning system in the package name in order to establish a compatible communication between client and server. Example: `package Project.v1_3`. Currently I need to update a constant manually every time the protocol versioning changes, where I could simply use an autogenerated constant from the proto file.
Contributor guide
Research direction
Start at the Dart code-generation entry point that reads a .proto file and trace how its package name is handled. Define the expected generated constant and verify that a package such as Project.v1_3 produces the correct value, including a test for the generated output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100