Skip to content

Error when sending System.Decimal (NotImplementedException) #329

Open
@esso23

Description

@esso23

Error:

WampSharp.WebSockets.ControlledBinaryWebSocketConnection`1[Newtonsoft.Json.Linq.JToken]|An error occurred while attempting to send a message to remote peer.|EXCEPTION OCCURRED:System.NotImplementedException The method or operation is not implemented. Void WriteValue(System.Decimal)

Callee looks like this:

    public interface ICallee
    {
        [WampProcedure("get_something")]
        Task<IEnumerable<SomeClassDto>> GetSomething();
    }

Class:

public class SomeClassDto
{
//...
    public decimal? WgsX { get; set; }
    public decimal? WgsY { get; set; }
//...
}

Using WampSharp.Websockets as transport & WampSharp.NewtonsoftCbor for serialization on client,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions