Skip to content

V2: Mark all exports from codegenv1 private#806

Merged
timostamm merged 1 commit intov2from
tstamm/mark-codegenv1-private
Apr 23, 2024
Merged

V2: Mark all exports from codegenv1 private#806
timostamm merged 1 commit intov2from
tstamm/mark-codegenv1-private

Conversation

@timostamm
Copy link
Member

@bufbuild/protobuf/codegenv1 should only be used from generated code.

It uses the v1 suffix so that breaking changes in generated code can result in a build-time error, and to potentially support old generated code with a new version of the runtime.

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