Skip to content

Commit

Permalink
add option csharp_namespace (#56) (#146)
Browse files Browse the repository at this point in the history
Signed-off-by: witskeeper <[email protected]>
Co-authored-by: witskeeper <[email protected]>
  • Loading branch information
yhmo and witskeeper authored May 9, 2023
1 parent 12c9d25 commit f6c4952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ option java_package = "io.milvus.grpc";
option java_outer_classname = "CommonProto";
option java_generate_equals_and_hash = true;

option csharp_namespace = "IO.Milvus.Grpc";

import "google/protobuf/descriptor.proto";

enum ErrorCode {
Expand Down
2 changes: 2 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ option java_package = "io.milvus.grpc";
option java_outer_classname = "MilvusProto";
option java_generate_equals_and_hash = true;

option csharp_namespace = "IO.Milvus.Grpc";

import "common.proto";
import "schema.proto";
import "google/protobuf/descriptor.proto";
Expand Down
2 changes: 2 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ option java_package = "io.milvus.grpc";
option java_outer_classname = "SchemaProto";
option java_generate_equals_and_hash = true;

option csharp_namespace = "IO.Milvus.Grpc";

import "common.proto";

/**
Expand Down

0 comments on commit f6c4952

Please sign in to comment.