public function create(string $className, string $typeName): Type
    {
        $identifiers = $this->entityManager->getClassMetadata($className)->getIdentifier();
        if (count($identifiers) > 1) {
            throw new Exception('Entities with composite identifiers are not supported by graphql-doctrine. The entity `' . $className . '` cannot be used as input type.');
        }

        return new EntityIDType($this->entityManager, $className, $typeName);
    }