Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Interpreter does not re-order record fields even when all labels are provided #988
When records are passed through the Ledger API their fields are expected to appear in order as per their definitions. If this does not happen, an error is raised.
If all labels are passed, though, the interpreter could re-order them so that order no longer matters in this case. This would enable bindings implementations to model records as dictionaries/objects/associative arrays easily and reliably.