google / google/protobuf.dart

have an option to not generate the pbjson.dart files

Open
#1,015 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
572
Forks
196
Avg merge
1h 59m
Merged PRs (30d)
2

Description

I believe these aren't generally needed for most proto / grpc use cases. Perhaps it should be an option to opt-in to their generation? But at least having an option to not generate them would be good; currently people handle this by generating all files, and then deleting the unneeded ones after.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Dart protobuf or gRPC generation entry point that produces pbjson.dart files, then inspect how generation options are defined and tested. The work is done when users can opt out of pbjson.dart generation while other generated files remain available, with coverage for the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.