Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
-
SDK36
Description
The interface ICollectionQueryIndexManager contains the internal keyword
ICollectionQueryIndexManager
|
/// <summary>
|
/// An internal collection reference for the query_context.
|
/// </summary>
|
internal ICouchbaseCollection Collection { get; set; }
|
|
/// <summary>
|
/// An internal scope reference for the query_context.
|
/// </summary>
|
internal IBucket Bucket { get; set; }
|
This is very bad for testing with mock for projects not being friend assemblies. There is no way to implement such an interface from the outside world.
Insted think about splitting the Interface into two parts a internal and external one
Attachments
For Gerrit Dashboard: NCBC-3387 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196758,3 | NCBC-3387: Remove Internal keyword from ICollectionQueryIndexManager | master | couchbase-net-client | Status: MERGED | +2 | +1 |
196825,2 | NCBC-3387: Fix regression due to DefaultServices | master | couchbase-net-client | Status: MERGED | +2 | +1 |