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

runtime: rewrite fieldmask logic with protoreflect #1309

Merged
merged 1 commit into from
May 14, 2020

Conversation

johanbrandhorst
Copy link
Collaborator

@johanbrandhorst johanbrandhorst commented May 9, 2020

Replace the use of the descriptorpb when we can use reflection
instead. Also add more thorough test and support repeated fields.

@johanbrandhorst johanbrandhorst force-pushed the rewrite-fieldmask-protoreflect branch 2 times, most recently from af65d30 to b41cfdc Compare May 9, 2020 20:33
@johanbrandhorst johanbrandhorst marked this pull request as ready for review May 9, 2020 20:34
@johanbrandhorst johanbrandhorst force-pushed the rewrite-fieldmask-protoreflect branch 2 times, most recently from 59a30ab to b25e8dc Compare May 9, 2020 21:02
@johanbrandhorst
Copy link
Collaborator Author

Bazel is failing for the same reason as #1272, will have to wait for the next release of rules_go.

@vtolstov
Copy link

does it possible to with rewriting not import glog logger package to minimize deps (i'm use parts of runtime package in other project)

@johanbrandhorst
Copy link
Collaborator Author

does it possible to with rewriting not import glog logger package to minimize deps (i'm use parts of runtime package in other project)

Sure, would you like to submit a PR to remove this? I don't think it's relevant to this PR.

@johanbrandhorst johanbrandhorst force-pushed the rewrite-fieldmask-protoreflect branch 11 times, most recently from 03d85a3 to 52174f2 Compare May 14, 2020 12:59
Replace the use of the descriptorpb when we can use reflection
instead. Also add more thorough test and support repeated fields.
@johanbrandhorst johanbrandhorst force-pushed the rewrite-fieldmask-protoreflect branch from 52174f2 to c950d28 Compare May 14, 2020 13:00
@johanbrandhorst johanbrandhorst merged commit 699882b into v2 May 14, 2020
@johanbrandhorst johanbrandhorst deleted the rewrite-fieldmask-protoreflect branch May 14, 2020 13:05
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.

3 participants