codex-storage / questionable

Elegant optional types for Nim
Other
114 stars 5 forks source link

Fix deprecation warning when importing `errorban` internally #10

Closed SirNickolas closed 2 years ago

SirNickolas commented 2 years ago

When a user tries to import questionable, they receive a deprecation warning from inside the library, which they are not able to fix or even silence (without silencing all deprecations in their project). Nimble recommends to keep private modules in a private/ subdirectory, which is what this PR does.

markspanbroek commented 2 years ago

Fixing this warning has been on my todo list for a while, so I'm really happy with this PR. It's a very elegant fix too, thanks!

markspanbroek commented 2 years ago

Just released version 0.10.3 with this fix.