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

leverage ITuple interface #1733

Merged
merged 6 commits into from Aug 30, 2022
Merged

leverage ITuple interface #1733

merged 6 commits into from Aug 30, 2022

Conversation

SimonCropp
Copy link
Contributor

No description provided.

@SimonCropp
Copy link
Contributor Author

merge conflict resolved

@@ -396,13 +396,17 @@ public void AllTupleLengthsUpToSevenAreSupportedForCapturing()
Assert.IsType<SequenceValue>(_converter.CreatePropertyValue(t));
}

#if !IVALUETUPLE

[Fact]
public void EightPlusValueTupleElementsAreIgnoredByCapturing()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nblumhardt

i wasnt sure if 8 was a by design choice? or u just didnt want to bloat the conversion code with too many tuple conversions.

if it is by design, let me know and i will make the ITuple respect this

Copy link
Member

Choose a reason for hiding this comment

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

Not by design - I think dropping this limitation is good 👍

@SimonCropp
Copy link
Contributor Author

@nblumhardt thoughts on this on?

@nblumhardt
Copy link
Member

LGTM!

@nblumhardt nblumhardt merged commit bed99cf into serilog:dev Aug 30, 2022
@SimonCropp SimonCropp deleted the leverage-ITuple branch August 31, 2022 01:27
@nblumhardt nblumhardt mentioned this pull request Sep 12, 2022
Twinki14 pushed a commit to Twinki14/CitizenFX.Extensions.Client.Serilog that referenced this pull request Dec 30, 2023
* leverage ITuple interface

* IVALUETUPLE

* resolve merge conflict

* missed a conflict

* const should be ITUPLE
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.

None yet

2 participants