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

Create TypeUrl via GenericDescriptor #839

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

alexander-yevsyukov
Copy link
Contributor

This PR introduces static factory method for TypeUrl via GenericDescriptor. Previously, we had factories accepting Descriptor, EnumDescriptor, and ServiceDescriptor. But in fact GenericDescriptor has everything we need for creating TypeUrl.

Corresponding static factories named from() were deprecated.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Dec 2, 2024
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review December 2, 2024 15:17
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 75.08%. Comparing base (2705db1) to head (b7c4323).
Report is 4 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #839      +/-   ##
============================================
- Coverage     75.17%   75.08%   -0.09%     
+ Complexity     1173     1171       -2     
============================================
  Files           190      190              
  Lines          4286     4283       -3     
  Branches        344      344              
============================================
- Hits           3222     3216       -6     
- Misses          933      936       +3     
  Partials        131      131              

@alexander-yevsyukov alexander-yevsyukov merged commit 17a9a6f into master Dec 2, 2024
6 of 7 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the type-url-on-generic-descriptor branch December 2, 2024 15:25
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.

3 participants