brendanhay / amazonka

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

gen: Use hashable ==1.3.* when generating bindings #921

Closed endgame closed 1 year ago

endgame commented 1 year ago

Workaround e.g. #919 when generating, so we can potentially bump botocore and/or continue nursing the current generator along until we get to making something better.

Closes #919

brendanhay commented 1 year ago

🤦🏽 Nice find. Given aeson's ordered-keymap flag is enabled by default the generator should probably switch over to use containers/Map directly, at some point.

endgame commented 1 year ago

Long-term, I want to build a binding to botocore which uses waargonaut so I can track declaration order of fields in botocore shapes. Because AWS API Gateway supports IAM authentication (where you SigV4-sign requests with the execute-api service abbrev), I want a version of the generator which consumes a service description that isn't coupled to botocore, so that othe people can generate amazonka-style bindings to their APIs. Then, we'll need a bridge between botocore and this new input format. More details at #888.

All that has to happen after 2.0, and so I'll merge this now to unblock a) updating botocore, and b) some other changes to the generator which will be necessary pre-2.0.