You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Integration Test running is failing with the following exception:
System.ArgumentException
HResult=0x80070057
Message=Cannot generate a hash code for ValueTuple`3 Arg_ParamName_Name
Source=Hl7.Cql.Comparers
StackTrace:
at Hl7.Cql.Comparers.CqlComparers.GetHashCode(Object x) in C:\Dev\firely-cql-sdk\Cql\Cql.Comparers\CqlComparers.cs:line 321
at
Measures.CMS.dll!UrinarySymptomScoreChangeAfterBenignProstaticHyperplasiaFHIR_1_3_000.Urinary_Symptom_Score_Assessment(Hl7.Cql.Runtime.CqlContext context) Line 707
at C:\Dev\firely-cql-sdk\Demo\Measures.CMS\CSharp\UrinarySymptomScoreChangeAfterBenignProstaticHyperplasiaFHIR-1.3.000.g.cs(707)
Tuples emitted to C# have recently changed from being derived from TupleBaseType to just value tuples (ValueTuple<,,,...> at runtime).
Solution
The CqlComparer must be updated to support value tuples
Add unit tests
TupleBaseType is part of the Cql.Primitives project. It is no longer used at runtime, consider making this internal. It is only used to generate the expression LINQ tree as a temporary placeholder until C# generates value tuples.
The text was updated successfully, but these errors were encountered:
baseTwo
changed the title
Fix Integration test - System.ArgumentException: 'Cannot generate a hash code for ValueTuple3Arg_ParamName_Name`'
Fix Integration test - System.ArgumentException: 'Cannot generate a hash code for ValueTuple`3 Arg_ParamName_Name'
Oct 18, 2024
Error
The Integration Test running is failing with the following exception:
at
while running this test
Background
Tuples emitted to C# have recently changed from being derived from
TupleBaseType
to just value tuples (ValueTuple<,,,...>
at runtime).Solution
CqlComparer
must be updated to support value tuplesTupleBaseType
is part of the Cql.Primitives project. It is no longer used at runtime, consider making this internal. It is only used to generate the expression LINQ tree as a temporary placeholder until C# generates value tuples.The text was updated successfully, but these errors were encountered: