FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
31 stars 17 forks source link

483 cql true is compiling to capitalized true in csharp #484

Closed baseTwo closed 3 months ago

baseTwo commented 3 months ago

Fix for #483

Fixed issues when converting a boolean constant to c#. (Previously outputted as "True") Improved converting constants with modern c# switch expression Added a library test for (1=1) = true, which should generate the correct casing for true Added a type extension to check whether a boxed object is null or default. Added unit tests for these.

Some changes: