Linq2Cql and Mapper should generate CQL statements in a deterministic way

Description

GetFields and GetProperties don't offer any ordering guarantees so it's possible to have the same mappings associated with different CQL statements. The mapping is defined only once so there's no impact for the users but it makes things like testing harder.

https://docs.microsoft.com/en-us/dotnet/api/system.type.getfields?redirectedfrom=MSDN&view=netframework-4.8#System_Type_GetFields

https://docs.microsoft.com/en-us/dotnet/api/system.type.getproperties?redirectedfrom=MSDN&view=netframework-4.8#System_Type_GetProperties_System_Reflection_BindingFlags_

Environment

None

Activity

Show:
Joao Reis
January 9, 2020, 1:40 PM

Done as part of

Fixed

Assignee

Unassigned

Reporter

Joao Reis

Fix versions