Skip to content

Error when sending System.Decimal (NotImplementedException) #329

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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