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 full paths in ProtoDeclaration implementions #329

Merged
merged 15 commits into from
Feb 21, 2025

Conversation

alexander-yevsyukov
Copy link
Collaborator

@alexander-yevsyukov alexander-yevsyukov commented Feb 20, 2025

This PR fixes setting absolute file paths in MessageType, EnumType, and Service. Previously, only events related to the declarations and file headers had full paths.

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 76.07%. Comparing base (1e54123) to head (434b6f9).
Report is 16 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #329      +/-   ##
============================================
- Coverage     76.29%   76.07%   -0.23%     
  Complexity      558      558              
============================================
  Files           190      192       +2     
  Lines          4143     4158      +15     
  Branches        388      392       +4     
============================================
+ Hits           3161     3163       +2     
- Misses          852      863      +11     
- Partials        130      132       +2     

@alexander-yevsyukov alexander-yevsyukov self-assigned this Feb 20, 2025
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review February 20, 2025 21:51
Copy link
Collaborator

@armiol armiol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some remarks.

@@ -0,0 +1,53 @@
/*
* Copyright 2024, TeamDev. All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's 2025.

@@ -14,6 +14,10 @@ option java_multiple_files = true;
import "google/protobuf/timestamp.proto";
import "spine/protodata/ast.proto";

message Project {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't quickly find if it is used. Just saying. Looks a bit odd.

@alexander-yevsyukov alexander-yevsyukov merged commit ff7faf1 into master Feb 21, 2025
7 of 8 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the fix-full-paths branch February 21, 2025 15:47
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.

2 participants