brendanhay / gogol

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

spelling miss "addtional" #133

Closed cdepillabout closed 2 years ago

cdepillabout commented 5 years ago

It appears that the code that generates a lens for additional json parameters is spelled incorrectly. For instance:

https://hackage.haskell.org/package/gogol-logging-0.4.0/docs/Network-Google-Logging.html#v:lejpAddtional

This probably should be lejpAdditional.

I did a quick grep through the code and my guess is that the following is the source of the problem:

https://github.com/brendanhay/gogol/blob/develop/gen/src/Gen/AST/Render.hs#L74

Of course, fixing this would require a major version bump, so maybe it is not worth it.