Skip to content

V2: Move Registry to the top level exports#841

Merged
timostamm merged 1 commit intov2from
tstamm/move-registry-to-top-level
May 14, 2024
Merged

V2: Move Registry to the top level exports#841
timostamm merged 1 commit intov2from
tstamm/move-registry-to-top-level

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 requested a review from srikrsna-buf May 14, 2024 10:36
@timostamm timostamm changed the title Move Registry to the top level exports V2: Move Registry to the top level exports May 14, 2024
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