You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PowerSync/PowerSync.Common/DB/Schema/ColumnJSON.cs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,7 @@ class ColumnJSON(ColumnJSONOptions options)
26
26
27
27
publicobjectToJSONObject()
28
28
{
29
-
// TODO find good exception type / message, or catch/throw somewhere else
30
-
if(Type==ColumnType.Inferred)thrownewInvalidOperationException("Attempted to serialise Inferred column.");
29
+
if(Type==ColumnType.Inferred)thrownewInvalidOperationException("Attempted to serialise Inferred column. ColumnType.Inferred is only valid as an argument to ColumnAttribute.");
0 commit comments