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

fix: always use Map for int64 keys (#708) #905

Merged
merged 2 commits into from Aug 18, 2023

Conversation

buzap
Copy link
Collaborator

@buzap buzap commented Aug 17, 2023

Hi,

This PR fixes issue #708.

As you suggested in the issue comment, I made the change to always use the Map type for a protobuf map with long keys.

Note that I had to downgrade the Prettier package from 3.0.0 to 2.8.8 (the latest version 2 release) because there is an issue preventing Jest snapshot updating: jestjs/jest#14305.

I also added "trailingComma": "all" to the .prettierrc file to match the original formatting.

Please let me know if there is anything that needs to be changed.

@stephenh
Copy link
Owner

This is great, thank you!

@stephenh stephenh merged commit cf2fb59 into stephenh:main Aug 18, 2023
7 checks passed
stephenh pushed a commit that referenced this pull request Aug 18, 2023
## [1.156.7](v1.156.6...v1.156.7) (2023-08-18)

### Bug Fixes

* always use Map for int64 keys ([#708](#708)) ([#905](#905)) ([cf2fb59](cf2fb59))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.156.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

eladhaim pushed a commit to eladhaim/ts-proto that referenced this pull request Sep 2, 2023
* fix: always use Map for int64 keys (stephenh#708)

* build: change prettier trailingComma to all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants