We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
YAXLib serializes System.Tuple successfully but ignores the content of System.ValueTuple.
System.Tuple
System.ValueTuple
Expected: the test below passes
Actual: the test fails.
[Test] public void ValueTupleTest() { const string expected = """ <ValueTupleOfStringInt32> <Item1>This is test</Item1> <Item2>10</Item2> </ValueTupleOfStringInt32> """; var serializer = CreateSerializer<ValueTuple<string, int>>(new SerializerOptions { ExceptionHandlingPolicies = YAXExceptionHandlingPolicies.DoNotThrow, ExceptionBehavior = YAXExceptionTypes.Warning, SerializationOptions = YAXSerializationOptions.SerializeNullObjects }); var got = serializer.Serialize(("This is test", 10)); Assert.That(got, Is.EqualTo(expected)); }
The text was updated successfully, but these errors were encountered:
Yap, not implemented yet.
Sorry, something went wrong.
No branches or pull requests
YAXLib serializes
System.Tuple
successfully but ignores the content ofSystem.ValueTuple
.Expected: the test below passes
Actual: the test fails.
The text was updated successfully, but these errors were encountered: