-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
- According to the UnsupportedTypes defined in
MessageHandler.cs, the following types are currently not supported as values for thedataargument inpublish:
private static readonly Type[] UnsupportedTypes =
{
typeof(short), typeof(int), typeof(double), typeof(float), typeof(decimal), typeof(DateTime), typeof(DateTimeOffset), typeof(byte), typeof(bool),
typeof(long), typeof(uint), typeof(ulong), typeof(ushort), typeof(sbyte),
};-
As a result, the following calls will fail:
channel.PublishAsync("test", true);channel.PublishAsync("test", 10);channel.PublishAsync("test", 10.4);
-
These types are accepted in
ably-jsand other client libraries, so we should explore how to align .NET behavior accordingly in the near future.
Metadata
Metadata
Assignees
Labels
No labels