oneduo / lighthouse-category-handler
添加了从 Lighthouse 6.0 中移除的缺失的分类处理器
v1.1.3
2023-08-24 09:29 UTC
Requires
- php: ^8.0
- nuwave/lighthouse: ^6.0
README
此包提供错误处理器,用于添加 Lighthouse 6.0 中缺失/删除的分类扩展
安装
您可以通过 composer 安装此包
composer require oneduo/lighthouse-category-handler
使用方法
在 末尾 添加处理器到 config lighthouse.error_handlers
'error_handlers' => [ \Nuwave\Lighthouse\Execution\AuthenticationErrorHandler::class, \Nuwave\Lighthouse\Execution\AuthorizationErrorHandler::class, \Nuwave\Lighthouse\Execution\ValidationErrorHandler::class, \Nuwave\Lighthouse\Execution\ReportingErrorHandler::class, \Oneduo\LighthouseCategoryHandler\CategoryHandler::class, ],
更新日志
请参阅 更新日志 了解最近更改的详细信息。
贡献
请参阅 贡献指南 获取详细信息。
安全漏洞
请审查 我们的安全策略 了解如何报告安全漏洞。
鸣谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。