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

Define csharp_namespace option #399

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

alanwest
Copy link
Member

Fixes generated C# namespaces to have the prefix OpenTelemetry instead of Opentelemetry

@tigrannajaryan
Copy link
Member

Is this a breaking change for existing C# code? The existing code will no longer compile, right? Just want to confirm we are OK with this.

Formally we are allowed to do this, since the code is explicitly excluded from our stability guarantees.

@alanwest
Copy link
Member Author

alanwest commented Jun 1, 2022

Is this a breaking change for existing C# code? The existing code will no longer compile, right? Just want to confirm we are OK with this.

From the standpoint of the .NET SDK, we will be ok making this change as we do not expose any of the generated code to end users.

However, this will also be a breaking change for any end users that are generating code directly from these protos. Personally, I suspect the impact will be low. We should be ok citing that the protos have not reached 1.0 yet.

@bogdandrutu bogdandrutu merged commit ed7cc36 into open-telemetry:main Jun 7, 2022
@alanwest alanwest deleted the alanwest/csharp-namespace branch June 7, 2022 17:27
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.

7 participants