We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3509658 commit 65b0d84Copy full SHA for 65b0d84
src/CouchDB.Driver/Translators/ConstantExpressionTranslator.cs
@@ -1,6 +1,7 @@
1
using Newtonsoft.Json;
2
using System;
3
using System.Collections.Generic;
4
+using System.Diagnostics;
5
using System.Linq;
6
using System.Linq.Expressions;
7
@@ -52,7 +53,10 @@ protected override Expression VisitConstant(ConstantExpression c)
52
53
else if (c.Value is Guid)
54
_sb.Append(JsonConvert.SerializeObject(c.Value));
55
else
- throw new NotSupportedException(string.Format("The constant for '{0}' is not supported", c.Value));
56
+ {
57
+ Debug.WriteLine($"The constant for '{c.Value}' not ufficially supported.");
58
+ _sb.Append(JsonConvert.SerializeObject(c.Value));
59
+ }
60
break;
61
default:
62
_sb.Append(c.Value);
0 commit comments