Description

Steps to reproduce
When using the type_registry class to register enums, a name is required in the config, this is not the same when using register_graphql_enum_type()
function TypeRegistry::register_enum_type(
string $type_name,
array{astNode: EnumTypeDefinitionNode|null, description: string|null, extensionASTNodes: EnumTypeExtensionNode[]|null, kind: string|null, name: string, values: array[]} $config
): void
Additional context
No response
WPGraphQL Version
2.3.3
WordPress Version
6.8.1
PHP Version
8.2
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL.