Skip to content

Commit

Permalink
Add a C# namespace option to the proto
Browse files Browse the repository at this point in the history
The naming choice is based on the C# SDK core being
"CloudNative.CloudEvents". This creates a bias towards using the C#
SDK instead of "roll-your-own" - but I think that's okay,
personally. Happy to consider other options.
  • Loading branch information
jskeet committed Jan 18, 2022
1 parent 6aa22d1 commit 912602c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloudevents/formats/cloudevents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ package io.cloudevents.v1;
import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "CloudNative.CloudEvents.V1";
option go_package = "cloudevents.io/genproto/v1";
option java_package = "io.cloudevents.v1.proto";
option java_multiple_files = true;
Expand Down

0 comments on commit 912602c

Please sign in to comment.