-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Issues/775 #779
base: master
Are you sure you want to change the base?
Issues/775 #779
Conversation
* @param {Uint8Array} value bytes to add | ||
* @returns {Writer} `this` | ||
*/ | ||
Writer.prototype.rawBytes = function write_raw_bytes(value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems that writeBytes (the one using util.Array) might be incorrect on older node versions, but it was probably never called until now
is this able to just handle encoding unkown Ids that are passed in like say
|
Or do I have to put that id in the |
@jcgertig it creates the __unknownFields automatically. Seeing this issue neither accepted nor rejected for more than a year, however, I'm wondering what's planned with this project now that Google provides built-in JavaScript support |
If you fork and apply this change, it will be really helpful for many people. |
I looked at the tests and literally everything passed but there was an issue with CODECLIMATE_REPO_TOKEN. This would be a really helpful merge, as this library isn't compliant with the protobuf specification without it. |
@pavelstudeny Is there a reason you opted to make the unknown fields hidden? |
@jeremyong do you mean that the |
fixes #775