You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/28 07:39:07 UTC

[GitHub] [shardingsphere] strongduanmu opened a new issue, #23133: Refactor DataSourceContainedRule#getDataSourceMapper return type for easy use

strongduanmu opened a new issue, #23133:
URL: https://github.com/apache/shardingsphere/issues/23133

   ## Feature Request
   
   ### Is your feature request related to a problem?
   
   No.
   
   ### Describe the feature you would like.
   
   Currently, the DataSourceContainedRule#getDataSourceMapper interface is declared as follows. The result is a `Map<String, Collection<String>>` structure, which is not easy to use. For example: I want to get the primary data source from this Map.
   
   ```java
   /**
    * ShardingSphere rule which contains data source.
    */
   public interface DataSourceContainedRule extends ShardingSphereRule {
       
       /**
        * Get data source mapper.
        *
        * @return data source mapper
        */
       Map<String, Collection<String>> getDataSourceMapper();
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] FlyingZC closed issue #23133: Refactor DataSourceContainedRule#getDataSourceMapper return type for easy use

Posted by "FlyingZC (via GitHub)" <gi...@apache.org>.
FlyingZC closed issue #23133: Refactor DataSourceContainedRule#getDataSourceMapper return type for easy use
URL: https://github.com/apache/shardingsphere/issues/23133


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] FlyingZC commented on issue #23133: Refactor DataSourceContainedRule#getDataSourceMapper return type for easy use

Posted by "FlyingZC (via GitHub)" <gi...@apache.org>.
FlyingZC commented on issue #23133:
URL: https://github.com/apache/shardingsphere/issues/23133#issuecomment-1556484761

   Fixed by #25388


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org