fix(graphql): add missing studio sort argument (#1179)

This commit is contained in:
Kyrch
2026-04-19 10:02:48 -03:00
committed by GitHub
parent 4e1d4236fc
commit 5be6f661a4
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace App\GraphQL\Schema\Types\Wiki;
use App\Enums\GraphQL\Sort\Pivot\ImageableSort;
use App\Enums\GraphQL\Sort\Wiki\StudioSort;
use App\GraphQL\Schema\Fields\Base\CreatedAtField;
use App\GraphQL\Schema\Fields\Base\DeletedAtField;
use App\GraphQL\Schema\Fields\Base\IdUnbindableField;
@@ -27,6 +28,14 @@ class StudioType extends EloquentType
return "Represents a company that produces anime.\n\nFor example, Shaft is the studio that produced the anime Bakemonogatari.";
}
/**
* @return class-string<StudioSort>
*/
public function getEnumSortClass(): string
{
return StudioSort::class;
}
/**
* The fields of the type.
*