Giter Club home page Giter Club logo

lime-csharp's Issues

Missing values on Message deserialization

Hi, I'm having trouble with the Message deserialization, this valid Message works fine:

{
    "id": "1",
    "to": "[email protected]",
    "type": "application/vnd.lime.media-link+json",
    "content": {
        "type": "image/jpeg",
        "uri": "http://2.bp.blogspot.com/-pATX0YgNSFs/VP-82AQKcuI/AAAAAAAALSU/Vet9e7Qsjjw/s1600/Cat-hd-wallpapers.jpg"
    }
}

But if I change the order of the properties, putting content as the first one (which still a Valid payload), the Message class only gets the value of the content and type leaving all other properties, such as from and id, with null values.

{
    "content": {
        "type": "image/jpeg",
        "uri": "http://2.bp.blogspot.com/-pATX0YgNSFs/VP-82AQKcuI/AAAAAAAALSU/Vet9e7Qsjjw/s1600/Cat-hd-wallpapers.jpg"
    },
    "id": "1",
    "to": "[email protected]",
    "type": "application/vnd.lime.media-link+json"
}

For example, I have this endpoint:
image

With the first payload I get all values right:
image

When I change the order:
image

Setup

This is how I add the Converters and EnvelopeSerializer to my project:
image

Lime version used: 0.8.111-beta
Blip client version: 0.5.285

Node inequality operator could not found

On last version of protocol if you try use "!=" Node operator to compare a object with null your application will broken.

StackTrace:

System.MissingMethodException: Method not found: 'Boolean Lime.Protocol.Node.op_Inequality(Lime.Protocol.Node, Lime.Protocol.Node)'

Contribution guide?

Do you guys have any documentation to people that want to start reading the code? I mean, there any so many different projects that I have no ideia where to start.

I'm quite new to programming protocols but I'm really interested in Lime due to its apparent simplicity.

I would like to understand its architecture, future ideas and maybe get some tasks (just for fun).

Thanks. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.