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

Verify that operands to numeric operators in LINQ expressions are represented as numbers on the server

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: LINQ3
    • Labels:
      None
    • Dotnet Drivers

      When translating an expression like:

      x.A + x.B
      

      in a LINQ query we should verify that the serializers for A and B actually serialize the values as numbers.

      So for example if A and B are serialized as strings using a RomanNumeralSerializer we should throw an exception if they are added together.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: