-
Notifications
You must be signed in to change notification settings - Fork 21
Unable to mock IRealtimeClient due to incorrect type defined in interface #1293
Copy link
Copy link
Open
Labels
code-qualityAffects the developer experience when working in our codebase.Affects the developer experience when working in our codebase.
Description
IRealtimeClient has a property "Channels" of type "RealtimeChannels" which is not an interface and has no public constructor. However, this class implements IChannels<IRealtimeChannel>. This implies that in IRealtimeClient.cs, the RealtimeChannels type should instead be IChannels<IRealtimeChannel>.
instead of this:
/// <summary>The collection of channels instanced, indexed by channel name.</summary>
RealtimeChannels Channels { get; }
it should be this:
/// <summary>The collection of channels instanced, indexed by channel name.</summary>
IChannels<IRealtimeChannel> Channels { get; }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code-qualityAffects the developer experience when working in our codebase.Affects the developer experience when working in our codebase.