Skip to content

Rolling back OTLP null array change for non-strings#1945

Merged
cijothomas merged 3 commits into
open-telemetry:mainfrom
Austin-Tan:NullableArrRollback
Mar 31, 2021
Merged

Rolling back OTLP null array change for non-strings#1945
cijothomas merged 3 commits into
open-telemetry:mainfrom
Austin-Tan:NullableArrRollback

Conversation

@Austin-Tan

@Austin-Tan Austin-Tan commented Mar 30, 2021

Copy link
Copy Markdown
Member

Addressing @Oberon00 's comments here. A previous interpretation of the spec I made in PR #1919 was incorrect. We allowed long?[], bool?[], and double?[] when we shouldn't have according to OTel common spec.

String arrays should still preserve null values since we don't have compile-time checks.

  • CHANGELOG.md updated for non-trivial changes

@Austin-Tan Austin-Tan requested a review from a team March 30, 2021 08:31
@codecov

codecov Bot commented Mar 30, 2021

Copy link
Copy Markdown

Codecov Report

Merging #1945 (2e14eb9) into main (539a2cd) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1945      +/-   ##
==========================================
- Coverage   83.60%   83.59%   -0.01%     
==========================================
  Files         192      192              
  Lines        6172     6163       -9     
==========================================
- Hits         5160     5152       -8     
+ Misses       1012     1011       -1     
Impacted Files Coverage Δ
...metryProtocol/Implementation/ActivityExtensions.cs 85.77% <ø> (-0.54%) ⬇️
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 82.35% <0.00%> (+2.94%) ⬆️

@reyang reyang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@cijothomas cijothomas closed this Mar 31, 2021
@cijothomas cijothomas reopened this Mar 31, 2021
@cijothomas cijothomas merged commit 9ebc1ce into open-telemetry:main Mar 31, 2021
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.

4 participants