oneduo / lighthouse-category-handler
Adds the missing category handler that was removed from Lighthouse 6.0
Installs: 6 984
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- nuwave/lighthouse: ^6.0
README
This package provides an error handler to add missing/removed category extension from Lighthouse 6.0
Installation
You can install the package via composer:
composer require oneduo/lighthouse-category-handler
Usage
Add the handler at the END of 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, ],
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.