Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-652

No serializer found for type {0} exception when using "chained" Linq query

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      See attached Test.

      A detailed description of why this is a problem:

      In our service layer, we have methods that expose IQueryable<IEntity> values. The intent is that other services can uses these to perform more detailed queries. Internal to the service, we query against a collection using the concrete type (GetCollection<Entity>()) and return it as an IQueryable<IEntity>(). Enumerations against this object succeed. However, if we do an additional query against it, we get a serialization exception.

            Assignee:
            Unassigned Unassigned
            Reporter:
            joe.enzminger Joe Enzminger
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: