rewrite validator schema string default required rule and number default required rule let string allow empty string and number allow 0
Simply run the following commands on your shell
npm install @lu7766lu7766/adonis-schema-override
node ace invoke @lu7766lu7766/adonis-schema-override
schema.string() // "" or "hello"
schema.string.required() // cannot empty
schema.number() // number
If you find any issue, bug or missing feature, please kindly create an issue or submit a pull request.