Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

add YAJsonIsolate instance to super constructor #165

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/src/supabase_query_builder.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:http/http.dart';
import 'package:supabase/src/supabase_stream_builder.dart';
import 'package:supabase/supabase.dart';
import 'package:yet_another_json_isolate/yet_another_json_isolate.dart';

class SupabaseQueryBuilder extends PostgrestQueryBuilder {
final RealtimeClient _realtime;
Expand All @@ -20,12 +21,11 @@ class SupabaseQueryBuilder extends PostgrestQueryBuilder {
_schema = schema,
_table = table,
_incrementId = incrementId,
super(
url,
headers: headers,
schema: schema,
httpClient: httpClient,
);
super(url,
headers: headers,
schema: schema,
httpClient: httpClient,
isolate: YAJsonIsolate()..initialize());

/// Notifies of data at the queried table
///
Expand Down