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

[Question] Fundamental question regarding protoregistry #631

Open
alwaysastudent opened this issue Nov 6, 2024 · 1 comment
Open

[Question] Fundamental question regarding protoregistry #631

alwaysastudent opened this issue Nov 6, 2024 · 1 comment

Comments

@alwaysastudent
Copy link

I am not sure this is an appropriate place to ask, but I am wondering why would we need to register any of the descriptors into protoregistry? Sorry for this naive question, hope someone kind can explain the fundamental need for registering descriptor types into protoregistry.

@jhump
Copy link
Owner

jhump commented Nov 7, 2024

They are necessary for using dynamic schemas that may contain extensions or that may contain message types that are used in payloads of google.protobuf.Any messages.

If you haven't encountered any use for them, then you are not likely doing anything with Protobuf that requires it. So maybe the shorter answer is: for your use case, you possibly don't need to registry descriptors into a registry.

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

No branches or pull requests

2 participants