leancodepl / contractsgenerator-dart

Dart contracts client generator for a CQRS API
3 stars 1 forks source link

Stable class/property ordering #54

Open jakubfijalkowski opened 2 years ago

jakubfijalkowski commented 2 years ago

Currently, the generator tends to generate properties in random order (or semi-random, or with order that ends up in the protobuf file). This makes generating contracts produce diffs that don't really reflect what changed - there is too much noise.

The generator should order classes/fields before outputting Dart code.