brendanhay / gogol

A comprehensive Google Services SDK for Haskell.
Other
280 stars 105 forks source link

Add more reserved names to fix build with new models #159

Closed madjar closed 3 years ago

madjar commented 3 years ago

Hi there!

I noticed that, while the regeneration now works, the result doesn't build for all packages.

Here is a fix!


The Secure and DateTime are now appearing in the api, but they are (as well as DateTime') already used in Network.Gogol.Prelude. Adding them to the list of reserved names fixes the build.

On top of that, this commits ensures that the named picked by renamedReserved is not itself reverved (so that DateTime is changed to DateTime'').