Mapper cannot deserialize IList properties

Description

The Mapper component does not currently deserialize IList properties. It throws this error:

This can be seen in master in test Cassandra.IntegrationTests.Mapping.Tests.Fetch.Fetch_UsingCqlObject() by changing Author.Followers from a List<string> to an IList<string>.

Environment

None

Activity

Joao Reis February 13, 2020 at 6:44 PM

Flag removed

merged to dse

Joao Reis February 13, 2020 at 6:13 PM

Flag added

merged to oss

Jorge Bay Gondra November 13, 2018 at 2:57 PM

Thanks for the repro information and pointing to the source of the issue.

Collin Sauve November 13, 2018 at 12:39 AM

This change would fix it, but I haven't really though through all the knock-on effects so won't submit a PR just yet.

https://github.com/collinsauve/csharp-driver/commit/6f06069c5a8cd7a89378efa5a97d71246e10ee8a

Fixed

Details

Assignee

Reporter

Labels

Reproduced in

Fix versions

Sprint

Components

Affects versions

Priority

Created November 13, 2018 at 12:32 AM
Updated March 24, 2020 at 7:24 PM
Resolved March 24, 2020 at 7:24 PM