duhanbalci / surrealdb_flutter

SurrealDB client written in pure dart. auto reconnect, typed functions
MIT License
42 stars 9 forks source link

type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast #5

Closed willyfromtheblock closed 2 years ago

willyfromtheblock commented 2 years ago
Unhandled exception:
type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast
#0      SurrealDB.select (package:surrealdb/src/surrealdb.dart:118)
 <asynchronous suspension>

latest nightly

Tests pass, though me calling await surrealClient.select("blockchain:height"); is causing the error above