Skip to content

Conversation

mangalaman93
Copy link
Member

@mangalaman93 mangalaman93 commented Sep 1, 2025

No description provided.

@mangalaman93 mangalaman93 marked this pull request as ready for review September 2, 2025 10:54
@Copilot Copilot AI review requested due to automatic review settings September 2, 2025 10:54
@mangalaman93 mangalaman93 requested a review from a team as a code owner September 2, 2025 10:54
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request moves v2 APIs from the v1 API package to consolidate the API structure. The PR removes duplicate API definitions and updates import references to use the main API package instead of the separate v2 package.

  • Import references updated from apiv2 to api in zero.go
  • Entire v2_test.go file removed
  • Generated protobuf files updated with new API methods and unified API structure

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
zero.go Updates import from apiv2 to api package and references to use unified API types
v2_test.go Complete removal of v2-specific test file
protos/api/cc.go Removes v2-specific connection helper function
protos/api/api_grpc.pb.go Generated file with new v2 API methods added to main API service
protos/api/api.pb.go Generated file with new message types and enums moved from v2
protos/api.v2/api.v2_grpc.pb.go Complete removal of v2-specific gRPC service definitions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@mangalaman93 mangalaman93 changed the title move v2 APIs from v1 APIs move v2 APIs into v1 APIs Sep 3, 2025
@mangalaman93 mangalaman93 force-pushed the aman/v1 branch 2 times, most recently from 1efa69f to fda084b Compare September 3, 2025 06:53
@mangalaman93 mangalaman93 enabled auto-merge (squash) September 3, 2025 07:03
if err != nil {
return nil, fmt.Errorf("invalid namespace ID: %w", err)
}
opts = append(opts, WithNamespace(nsID))
Copy link
Member

Choose a reason for hiding this comment

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

If a namespace is specified, but a username and password are not, should this not return an error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants