We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
midway-component/packages/swagger/src/lib/generator.ts
Line 295 in caf84ab
当验证对象里有 RuleType.object() 规则时,/swagger-ui/json 会报错:
object null is not iterable (cannot read property Symbol(Symbol.iterator))
debug 看了下是 joiSchema.$_terms?.keys 的值为 null
joiSchema.$_terms?.keys
The text was updated successfully, but these errors were encountered:
另一个相同的issue:midwayjs/midway#1291
Sorry, something went wrong.
No branches or pull requests
midway-component/packages/swagger/src/lib/generator.ts
Line 295 in caf84ab
当验证对象里有 RuleType.object() 规则时,/swagger-ui/json 会报错:
debug 看了下是
joiSchema.$_terms?.keys
的值为 nullThe text was updated successfully, but these errors were encountered: