brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
599 stars 227 forks source link

Track botocore order of shape fields in generator #872

Open endgame opened 1 year ago

endgame commented 1 year ago

In #862 the generator was changed to emit request/response fields in sorted order. We could switch the generator from aeson to waargonaut, which uses a JSON AST that tracks such things.

endgame commented 1 year ago

The new parser in aeson >= 2.1.2.0, Data.Aeson.Decoding.Tokens is probably easier to use than waargonaut will be, as its hw-simd-json dependency doesn't build right now.