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

Show:
Collin Sauve
November 13, 2018, 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

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

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

Joao Reis
February 13, 2020, 6:13 PM

Flag added

merged to oss

Joao Reis
February 13, 2020, 6:44 PM

Flag removed

merged to dse

Assignee

Unassigned

Reporter

Collin Sauve

Labels

Reproduced in

3.6.0

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

Pull Requests

None

Size

None

Components

Affects versions

Priority

Major
Configure