Open c-blake opened 3 years ago
Hi @c-blake
Good catch and thank you!! Actually, I should have noticed this, since I made the PR :dango: https://github.com/euantorano/recaptcha.nim/commit/0c471d24fee645fc50ffa35849a88d1a3ed00e82
I found it compiling a big chunk of The Nimbleverse to test https://github.com/c-blake/nimp. Nimble uses latest tagged releases while nimp uses #head all the time, really..(or whenever the installer last did nimp up
for all their packages).
I started to "patch/fix" said Nimbleverse before deciding to compare how much regular nimble
failed - which was "also a lot". :-) The main Nim does important packages CI, but 30-40% of "wider world" packages just break from neglect. { I do not think nimble
devs test against the 1350 packages they could. The onus is instead upon package authors to test nimble
. }
The recaptcha library added a second overload for
initRecaptcha
. Consequently,nimwcpkg/webs/captchas.nim:setupReCaptcha
must provide a third argument (either abool
or aProvider
) for Nim to unambiguously resolve the call. This will matter more once recaptcha stamps a new release. You may want awhen compiles
guard to handle both old & new recaptcha libs.