Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Sep 6, 2023
1 parent d79ed70 commit 47c902f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion aquadoggo/src/db/stores/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ impl SqlStore {

for (index, db_value) in db_values.into_iter().enumerate() {
let cursor = OperationCursor::new(index, name, id);

// Separate out `Bytes` values as these go into their own column.
let mut string_value = None;
let mut data_value = None;
Expand Down
6 changes: 3 additions & 3 deletions aquadoggo/src/graphql/input_values/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod meta_filter;
mod order;

pub use fields_filter::{
build_filter_input_object, BooleanFilter, HexBytesFilter, DocumentIdFilter, DocumentViewIdFilter, FloatFilter,
IntegerFilter, OwnerFilter, PinnedRelationFilter, PinnedRelationListFilter, RelationFilter,
RelationListFilter, StringFilter,
build_filter_input_object, BooleanFilter, DocumentIdFilter, DocumentViewIdFilter, FloatFilter,
HexBytesFilter, IntegerFilter, OwnerFilter, PinnedRelationFilter, PinnedRelationListFilter,
RelationFilter, RelationListFilter, StringFilter,
};
pub use meta_filter::MetaFilterInputObject;
pub use order::{build_order_enum_value, OrderDirection};
4 changes: 2 additions & 2 deletions aquadoggo/src/graphql/scalars/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
//!
//! We use a naming convention of appending the item's GraphQL type (e.g. `Scalar`) when a p2panda
//! item of the exact same name is being wrapped.
mod hex_bytes_scalar;
mod cursor_scalar;
mod document_id_scalar;
mod document_view_id_scalar;
mod encoded_entry_scalar;
mod encoded_operation_scalar;
mod entry_hash_scalar;
mod hex_bytes_scalar;
mod log_id_scalar;
mod public_key_scalar;
mod seq_num_scalar;

pub use hex_bytes_scalar::HexBytesScalar;
pub use cursor_scalar::CursorScalar;
pub use document_id_scalar::DocumentIdScalar;
pub use document_view_id_scalar::DocumentViewIdScalar;
pub use encoded_entry_scalar::EncodedEntryScalar;
pub use encoded_operation_scalar::EncodedOperationScalar;
pub use entry_hash_scalar::EntryHashScalar;
pub use hex_bytes_scalar::HexBytesScalar;
pub use log_id_scalar::LogIdScalar;
pub use public_key_scalar::PublicKeyScalar;
pub use seq_num_scalar::SeqNumScalar;
6 changes: 4 additions & 2 deletions aquadoggo_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ fn show_warnings(config: &Configuration, is_temporary_blobs_path: bool) {
}

if config.database_url != "sqlite::memory:" && is_temporary_blobs_path {
warn!("Your database is persisted but blobs _are not_ which might result in unrecoverable
warn!(
"Your database is persisted but blobs _are not_ which might result in unrecoverable
data inconsistency (blob operations are stored but the files themselves are _not_). It is
recommended to either set both values (`database_url` and `blobs_base_path`) to an
temporary value or set both to persist all data.");
temporary value or set both to persist all data."
);
}
}

0 comments on commit 47c902f

Please sign in to comment.