You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
Sometimes the examples in the docs aren't easy to run due to missing implementation. A point in case would be https://adonisjs.com/docs/4.1/testing#_unit_tests Suppose a reader lands on this section but needs to run an example with minimal understanding about the validation module they wouldn't know how to do that without a UserValidator implementation. To run the example in that section they're force to dig through the docs and see how a Validator implementation looks like. And to add to the confusion there's nothing in docs explaining usage of app/Services. This is confusing. I suggest adding a mock implementation of app/Services/UserValidator along with a short explanation about encapsulating reusable functionality in service or helper classes.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sometimes the examples in the docs aren't easy to run due to missing implementation. A point in case would be https://adonisjs.com/docs/4.1/testing#_unit_tests Suppose a reader lands on this section but needs to run an example with minimal understanding about the validation module they wouldn't know how to do that without a
UserValidator
implementation. To run the example in that section they're force to dig through the docs and see how a Validator implementation looks like. And to add to the confusion there's nothing in docs explaining usage ofapp/Services
. This is confusing. I suggest adding a mock implementation ofapp/Services/UserValidator
along with a short explanation about encapsulating reusable functionality in service or helper classes.The text was updated successfully, but these errors were encountered: