Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/celest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: dart analyze --fatal-infos --fatal-warnings
- name: Format
working-directory: packages/celest
run: dart format --language-version=latest --set-exit-if-changed .
run: dart format --set-exit-if-changed .
- name: Test
working-directory: packages/celest
run: dart test
Expand Down
4 changes: 3 additions & 1 deletion packages/celest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## 1.0.6-wip
## 1.0.6

- refactor: Move `connect` method to `CelestDatabase` class
- fix: Analyzer plugin cannot be part of workspace
- chore: Bump Dart SDK constraint to `^3.7.0`
- chore: Reformat with Dart 3.7

## 1.0.5

Expand Down
9 changes: 4 additions & 5 deletions packages/celest/example/celest/client/lib/example_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ enum CelestEnvironment {
local;

Uri get baseUri => switch (this) {
local =>
_$celest.kIsWeb || !Platform.isAndroid
? Uri.parse('http://localhost:51506')
: Uri.parse('http://10.0.2.2:51506'),
};
local => _$celest.kIsWeb || !Platform.isAndroid
? Uri.parse('http://localhost:51506')
: Uri.parse('http://10.0.2.2:51506'),
};
}

class Celest with _$celest.CelestBase {
Expand Down
8 changes: 4 additions & 4 deletions packages/celest/example/celest/client/lib/src/functions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ class CelestFunctionsGreeting {
StackTrace.fromString(stackTraceValue),
),
[final errorDetails as Map<String, Object?>, ...] => (
errorDetails['@type'],
errorDetails['value'],
StackTrace.empty,
),
errorDetails['@type'],
errorDetails['value'],
StackTrace.empty,
),
};

switch (errorType) {
Expand Down
Loading