Description
当只是使用golang的异步任务功能,没有安装mongodb包时,会出现错误:
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/BulkWriteResult.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/DeleteResult.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/IndexInfo.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/InsertManyResult.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/InsertOneResult.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
[ERROR] DI Reflection Manager collecting class reflections failed.
File: /home/vagrant/code/robot-processes/vendor/hyperf/gotask/src/MongoClient/Type/UpdateResult.php.
Exception: Interface "MongoDB\BSON\Unserializable" not found
请问如何解决或者屏蔽?