Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2: Move Registry to the top level exports #841

Merged
merged 1 commit into from
May 14, 2024

Conversation

timostamm
Copy link
Member

Registries are first-class primitives, so we're moving the type Registry from the subpath @bufbuild/protobuf/reflect to the top level @bufbuild/protobuf.

* enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE
* are omitted, but the numerical values are identical.
*/
export enum ScalarType {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ScalarType and LongType move as well - they are closely tied to DescField, so they now live next to the definition of DescField, along with similar types.

@timostamm timostamm changed the title Move Registry to the top level exports V2: Move Registry to the top level exports May 14, 2024
@timostamm timostamm merged commit fe66d80 into v2 May 14, 2024
7 checks passed
@timostamm timostamm deleted the tstamm/move-registry-to-top-level branch May 14, 2024 14:08
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.

None yet

2 participants