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

Feature Request: Options as static constants in type #667

Open
robinchrist opened this issue Jan 14, 2025 · 0 comments
Open

Feature Request: Options as static constants in type #667

robinchrist opened this issue Jan 14, 2025 · 0 comments

Comments

@robinchrist
Copy link

There was a long discussion about not being able to define constant values for Protobufs here: protocolbuffers/protobuf#3520

Would there be a sensible way in protobuf-ts to go ahead and embed string constants in the generated type, without having to construct the type first?

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

1 participant