-
Notifications
You must be signed in to change notification settings - Fork 6
fix: move sembast to core #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,7 +66,8 @@ export 'domain_layer/entities/signer_request_rejected_exception.dart'; | |
| /// cache | ||
| export 'domain_layer/repositories/cache_manager.dart'; | ||
| export 'data_layer/repositories/cache_manager/mem_cache_manager.dart'; | ||
| // export 'data_layer/repositories/cache_manager/db_cache_manager.dart'; | ||
| export 'data_layer/repositories/cache_manager/sembast_cache_manager.dart' | ||
| if (dart.library.io) 'data_layer/repositories/cache_manager/sembast_cache_manager.dart'; | ||
|
Comment on lines
+69
to
+70
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check for dart:io and sembast_io imports in the sembast cache manager
fd -t f "sembast_cache_manager.dart" packages/ndk --exec head -50 {}
echo "---"
echo "Searching for dart:io imports:"
rg -n "dart:io|sembast_io" packages/ndk/lib/data_layer/repositories/cache_manager/Repository: relaystr/ndk Length of output: 2676 Conditional export with identical paths will break web builds. The file Fix: Create a stub implementation for web or remove the unconditional default: -export 'data_layer/repositories/cache_manager/sembast_cache_manager.dart'
- if (dart.library.io) 'data_layer/repositories/cache_manager/sembast_cache_manager.dart';
+export 'data_layer/repositories/cache_manager/sembast_cache_manager_stub.dart'
+ if (dart.library.io) 'data_layer/repositories/cache_manager/sembast_cache_manager.dart';Then create 🤖 Prompt for AI Agents |
||
|
|
||
| /** | ||
| * common usecases | ||
|
|
||
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is sembast tested now?
Directly in the core package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in same test package as mem_cache_manager_test