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
-
(Close if this already exists - couldn't see it)
This design seems arbitrary and undocumented.
That you can, say,
use my_other_validator
but only from a module in./validators
isnt (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
./tests
which canuse
from anywhereBeta Was this translation helpful? Give feedback.
All reactions