diff options
| author | Ramses <ramses@well-founded.dev> | 2023-12-11 21:16:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-11 20:16:41 +0000 |
| commit | edc495895afa179485c587801c92b2e488fb558b (patch) | |
| tree | c27cf98671f8fe50ff0f5542a9e284d5ebd044e2 /atuin-server-database/src/models.rs | |
| parent | fix(docs): fix typo (#1439) (diff) | |
| download | atuin-edc495895afa179485c587801c92b2e488fb558b.zip | |
fix(stats): don't require all fields under [stats] (#1437)
Before this change, when configuring only `common_subcommands` and
not `common_prefix` (so it would take its default value),
atuin produces an error message:
```
Error: could not load client settings Caused by: failed to deserialize: missing field `common_prefix` Location: atuin-client/src/settings.rs:456:26
Error: could not load client settings
Caused by:
failed to deserialize: missing field `common_prefix`
Location:
atuin-client/src/settings.rs:456:26
Error:: command not found
```
With this change, the fields can be specified separately and missing
fields will take their default values.
Diffstat (limited to 'atuin-server-database/src/models.rs')
0 files changed, 0 insertions, 0 deletions
