-
Notifications
You must be signed in to change notification settings - Fork 28
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
Isar Inspector with multiple instances #104
Comments
I have been trying to debug this. Unfortunately i was not able to get the Isar Inspector running in Debug mode and connect to my Isar-Instance :( So i am depending on help. I could find out, that on changing the Isar Instance the following JS-Error is thrown:
i could trace it to this method in the isar inspector package connect_client.dart: Future<Map<String, Object?>> executeQuery(ConnectQuery query) async {
return _call<Map<String, Object?>>(
ConnectAction.executeQuery,
args: query.toJson(),
timeout: kLongTimeout,
);
}
If anyone feels competent to address this issue, i would be very grateful. As far is could research, this issue has been fixed for V4 by the original Author of the Isar Package. So there is a fix somewhere deep down in the Rust Core... but i have no clue how to track this. Thanks and best regards, |
@FritzMatthaeus Hi, I had a similar issue, but with a hot reload by pressing Shift + R, I do get the link to access the Isar Inspector, and it only works in Chrome. |
Thank you, but maybe my issue was not clear. I can open the inspector in chrome, but i cannot switch between my different Isar Instances. Only the first opened instance is accessible. See the code example. |
Steps to Reproduce
I do create multiple Isar Instances each with different schemas. When i open the isar inspector, i can see all schemas but only in first instance there ist data displayed. When switching instances the isar inspector is stuck to loading
Code sample
create a new flutter project with isar, path_provider and build_runner dependencies. Paste this code in main.dart, run the App and open the Isar Inspector Link. the Foo instance will show data, the Bar instance will show loading.
Details
The text was updated successfully, but these errors were encountered: