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
This morning, I tested if the app I am migrating to the new Supabase integration still works offline. Unfortunately, when I upsert a model while being offline, the following exception is thrown:
Null check operator used on a null value
#0 PostgrestBuilder._parseResponse (package:postgrest/src/postgrest_builder.dart:254:27)
#1 PostgrestBuilder._execute (package:postgrest/src/postgrest_builder.dart:164:14)
<asynchronous suspension>
#2 PostgrestBuilder.then (package:postgrest/src/postgrest_builder.dart:372:24)
<asynchronous suspension>
I checked the debugger, and the exception is thrown in this line inside the _upsertByType function of the SupabaseProvider:
final resp = await builder.select(queryTransformer.selectFields).limit(1).maybeSingle();
I can also reproduce this issue with the example_supbase flutter app. (For that, I added a button which upserts a new customer because currently the example only displays the customers but does not allow adding a new one).
The text was updated successfully, but these errors were encountered:
This morning, I tested if the app I am migrating to the new Supabase integration still works offline. Unfortunately, when I upsert a model while being offline, the following exception is thrown:
I checked the debugger, and the exception is thrown in this line inside the
_upsertByType
function of theSupabaseProvider
:final resp = await builder.select(queryTransformer.selectFields).limit(1).maybeSingle();
I can also reproduce this issue with the example_supbase flutter app. (For that, I added a button which upserts a new customer because currently the example only displays the customers but does not allow adding a new one).
The text was updated successfully, but these errors were encountered: