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

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

None

Size

None

Priority

Major
Configure