Skip to content

Conversation

@osa1
Copy link
Member

@osa1 osa1 commented Oct 30, 2025

createRepeated members are not that useful, because PbList doesn't provide much over the standard library List, and MyMessage.createRepeated() can be replaced with <MyMessage>[].

To reduce generated code sizes and dependencies to PbList, remove the createRepeated members.


cl/825440440

osa1 added 2 commits October 30, 2025 09:22
`createRepeated` members are not that useful, because `PbList` doesn't
provide much over the standard library `List`, and
`MyMessage.createRepeated()` can be replaced with `<MyMessage>[]`.

To reduce generated code sizes and dependencies to `PbList`, remove the
`createRepeated` members.
@osa1 osa1 requested a review from sigurdm October 30, 2025 09:25
@github-actions
Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:protobuf 5.1.0-wip WIP (no publish necessary)
package:protoc_plugin 24.0.0 ready to publish protoc_plugin-v24.0.0

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@osa1 osa1 merged commit bed508e into google:master Oct 30, 2025
12 checks passed
@osa1 osa1 deleted the remove_createRepeated branch October 30, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants