Validation decorator isn't working
tpow opened this issue · 1 comments
tpow commented
Describe the bug
In Masonite 3, the validation decorators were documented. However, I don't see them in the documentation for v4.0. Was this intentional?
It looks like the decorator is still included. However, it definitely has a bug:
from wsgi import container
needs to change to
from wsgi import application as container
or rename container
to application
throughout validation/decorators.py
The decorators are handy, however I could switch if they are intentionally removed. At the moment they cause mysterious failures after trying to upgrade my project from 3 to 4.
Expected behaviour
No response
Steps to reproduce the bug
No response
Screenshots
No response
OS
Linux
OS version
Ubuntu LTS
Browser
No response
Masonite Version
4.17.4
Anything else ?
No response