-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: added pdo proxy #30
base: master
Are you sure you want to change the base?
Conversation
@@ -40,7 +41,7 @@ public function __invoke(): array | |||
ResourceManagerInterface::class => DefaultResourceManager::class, | |||
// GlobalTransactionScanner::class => GlobalTransactionScannerFactory::class, | |||
LoggerInterface::class => StdoutLogger::class, | |||
// DataSourceProxy::class => DataSourceProxyFactory::class, | |||
// DataSourceProxy::class => DataSourceProxyFactory::class, | |||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'publish' => [ [ 'id' => 'config', 'description' => 'The config of message client.', 'source' => __DIR__ . '/../publish/seata.php', 'destination' => BASE_PATH . '/config/autoload/seata.php', ], ],
这里要不要把publish 完善一下?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hyperf,现在你在 ConfigProvider 加上 class_map 也没用,ConfigProvider 里面我没记错他是没支持 class_map 的
|
使用
pdo proxy
需要在hyperf
项目内/config/autoload/annotations.php
增加以下内容