Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: lib/src/datastore_impl.dart

Issue 1520863002: Implement support for converting db values to datastore values with db.Query.filter (Closed) Base URL: git@github.com:dart-lang/gcloud.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/db/db.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/datastore_impl.dart
diff --git a/lib/src/datastore_impl.dart b/lib/src/datastore_impl.dart
index c582012371554799c5df5bc8b6655ce33cf2a12c..9229a36fbce4dc13016170ef019f2f4ee9252bc2 100644
--- a/lib/src/datastore_impl.dart
+++ b/lib/src/datastore_impl.dart
@@ -312,7 +312,7 @@ class DatastoreImpl implements datastore.Datastore {
if (value is List && value.length == 1) {
value = value.first;
} else {
- throw new ArgumentError('List values not supported');
+ throw new ArgumentError('List values not supported (was: $value).');
}
}
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/db/db.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698