google / google/protobuf.dart

Should generated classes be `final`?

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

Description

I don't super duper _use_ protobuf-generated classes, but I suspect users would benefit from them being `final`. They can get improved static analysis like understanding that two objects of two different final class can never be equal, or for exhaustiveness purposes, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.