Giter Site home page Giter Site logo

Comments (3)

deepakyadav avatar deepakyadav commented on July 29, 2024

While deserializing a collection other properties are not deserialized.
I faced the same issue, then I used List<> as property instead of inheritance.

For code reference you can check my repo https://github.com/deepakyadav/MusicBrainz-Web-Service

-----Original Message-----
From: "wo80" [email protected]
Sent: ‎18-‎01-‎2015 01:42 AM
To: "avatar29A/MusicBrainz" [email protected]
Subject: [MusicBrainz] Deserialization of medium-list > track-count (#3)

I'm having an issue with the following code:
var query = "artist:(giant sand) release:(tucson)";
var result = Release.Search(Uri.EscapeDataString(query), 10);It translates to the following url:
http://musicbrainz.org/ws/2/release?query=artist%3A%28giant%20sand%29%20release%3A%28tucson%29&limit=10&offset=0
The XML returned contains the following elements:

19

CD



But result[i].MediumList.TrackCount is always 0.
As far as I can see, the serialization attributes of Entities.Collections.MediumList are configured correctly. Any ideas?

Reply to this email directly or view it on GitHub.=

from musicbrainz.

wo80 avatar wo80 commented on July 29, 2024

Works a treat. I think the changes should be backported...

from musicbrainz.

wo80 avatar wo80 commented on July 29, 2024

Fixed in 9c01637

from musicbrainz.

Related Issues (20)

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.