fix: Make the CrdtDatabase class ephemeral (#82)
This commit is contained in:
parent
de7e22d91a
commit
517abde4a1
1 changed files with 362 additions and 151 deletions
|
|
@ -15,12 +15,7 @@ Future<void> run(List<String> args) async {
|
|||
Protocol(),
|
||||
Endpoints(),
|
||||
authenticationHandler: demoAuthenticationHandler,
|
||||
// TODO: Remove the duplicate [syncTables] argument from here and the
|
||||
// [initializeCrdtSync] call below.
|
||||
databaseInterceptor: (_, inner) => CrdtDatabase(
|
||||
inner,
|
||||
syncTables: demoSyncTables,
|
||||
),
|
||||
databaseInterceptor: crdtDatabaseInterceptor,
|
||||
)..initializeCrdtSync(syncTables: demoSyncTables);
|
||||
|
||||
// Start the server.
|
||||
|
|
|
|||
Loading…
Reference in a new issue