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

Enables usage of protobuf enums in web config #1041

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Pelsin
Copy link
Contributor

@Pelsin Pelsin commented Jun 4, 2024

Compiles enums.proto into typescript defs.

Requires an extra build step, has been added to run before npm run dev & npm run build so it should work.

Example usage in Pins.ts
Screenshot 2024-06-04 at 13 33 06

Bundle size grew but not by a ton, still ok i hope!
Screenshot 2024-06-04 at 13 33 50

@Pelsin Pelsin marked this pull request as draft June 4, 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

1 participant