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: do not consider inherited properties for transcoding #995

Merged
merged 4 commits into from
May 10, 2021

Conversation

alexander-fenster
Copy link
Contributor

The gRPC transcoding fails into infinite recursion if we pass a protobuf.js message object (because it has a circular dependency in its prototype). We only want to consider own properties for transcoding purposes.

@alexander-fenster alexander-fenster requested a review from a team as a code owner May 8, 2021 00:52
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 8, 2021
@codecov
Copy link

codecov bot commented May 8, 2021

Codecov Report

Merging #995 (278979a) into master (f75d2b5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #995      +/-   ##
==========================================
+ Coverage   88.50%   88.51%   +0.01%     
==========================================
  Files          43       43              
  Lines        7124     7131       +7     
  Branches      617      620       +3     
==========================================
+ Hits         6305     6312       +7     
  Misses        809      809              
  Partials       10       10              
Impacted Files Coverage Δ
src/transcoding.ts 97.01% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f75d2b5...278979a. Read the comment docs.

@alexander-fenster alexander-fenster added the automerge Merge the pull request once unit tests and other checks pass. label May 10, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit e0984a1 into master May 10, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the has-own branch May 10, 2021 18:00
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants