Skip to content

chore: Update Google.Backstory to be a proto only library#15768

Open
efevans wants to merge 3 commits into
googleapis:mainfrom
efevans:backstory/to-proto-only
Open

chore: Update Google.Backstory to be a proto only library#15768
efevans wants to merge 3 commits into
googleapis:mainfrom
efevans:backstory/to-proto-only

Conversation

@efevans

@efevans efevans commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

b/531833340

@efevans
efevans requested a review from a team as a code owner July 17, 2026 23:53

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request converts the Google.Backstory library from a GAPIC client to a proto-only library, removing the generated snippet projects and updating the generator configuration. The reviewer suggests removing the unnecessary dependency on Google.Api.Gax.Grpc from both apis.json and the project file, as proto-only libraries do not require it.

Comment thread generator-input/apis.json
Comment on lines +282 to +284
"dependencies": {
"Google.Api.Gax.Grpc": "default"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Since Google.Backstory is being updated to a proto-only library ("generator": "proto"), it should not depend on Google.Api.Gax.Grpc, which is a library for GAPIC clients. If the library only contains protobuf messages, it does not need any extra dependencies (as Google.Protobuf is added automatically). If it contains gRPC services, it should depend on Grpc.Core.Api instead.

      "dependencies": {},

Comment on lines 10 to 13
<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" />
<PackageReference Include="Google.Api.Gax.Grpc" />
<PackageReference Include="Grpc.Core" PrivateAssets="None" Condition="'$(TargetFramework)'=='net462'" />
</ItemGroup>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Remove the unnecessary dependency on Google.Api.Gax.Grpc since this is now a proto-only library.

  <ItemGroup>
    <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="All" />
  </ItemGroup>

@efevans
efevans force-pushed the backstory/to-proto-only branch from e7e047e to de339fd Compare July 18, 2026 00:19
@efevans
efevans force-pushed the backstory/to-proto-only branch from de339fd to c550c0d Compare July 18, 2026 00:29
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.

1 participant