brendanhay / amazonka

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

Gen loopbreaker #820

Closed endgame closed 2 years ago

endgame commented 2 years ago

This is really close to working, but it's not 100% there. I suspect there's something in the way it extracts references from one shape to another. It generates .hs-boot files for wafv2 correctly, but not timestream-query (generates .hs-boot that's never imported) and kendra (fails to generate {-# SOURCE #-} imports to break cycles.

This now works: I have regenerated all existing services (there's no change) and configured the services we're missing due to recursive shape references. Also I had to bump a bunch of bazel stuff to get gazelle_cabal to support .hs-boot files.

Regeneration of now-buildable services will be in a follow-up PR, as usual.

Closes #736 Closes #734 Closes #730