Rethink lib/validator top level subdirs #841
waalge
started this conversation in
Core language features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(Close if this already exists - couldn't see it)
This design seems arbitrary and undocumented.
That you can, say,
use my_other_validatorbut only from a module in./validatorsisnt (afaics) documented.You also have namespace pollution:
breaks
My current desire is test validators.
It is non-obvious that
is how to make validators publicly available, as if it were a top level function.
It would be pleasant to have a top level
./testswhich canusefrom anywhereBeta Was this translation helpful? Give feedback.
All reactions