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

doc: Clarify contract for primitive encoders #1360

Merged
merged 1 commit into from
Sep 17, 2023
Merged

doc: Clarify contract for primitive encoders #1360

merged 1 commit into from
Sep 17, 2023

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented Sep 16, 2023

Clarify that custom primitive encoders for
level, time, duration, and caller
must make exactly one call to a Append* method
on the PrimitiveArrayEncoder provided.

Refs #1359

Clarify that custom primitive encoders for
level, time, duration, and caller
must make *exactly* one call to a `Append*` method
on the PrimitiveArrayEncoder provided.

Refs #1359
@abhinav abhinav enabled auto-merge (squash) September 16, 2023 16:19
@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Merging #1360 (308fd3f) into master (f9c5b00) will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1360      +/-   ##
==========================================
+ Coverage   98.28%   98.42%   +0.14%     
==========================================
  Files          53       53              
  Lines        3493     3493              
==========================================
+ Hits         3433     3438       +5     
+ Misses         50       46       -4     
+ Partials       10        9       -1     
Files Changed Coverage Δ
zapcore/encoder.go 87.69% <ø> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@abhinav abhinav merged commit 8a14570 into master Sep 17, 2023
6 checks passed
@abhinav abhinav deleted the core-doc-fix branch September 17, 2023 22:11
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