Skip to content

Commit

Permalink
editoast: make the Model 'Debug'able
Browse files Browse the repository at this point in the history
  • Loading branch information
woshilapin committed May 15, 2024
1 parent 0bcc4e0 commit ff1e7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editoast/src/modelsv2/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use diesel::QueryableByName;
/// You can implement this type manually but its recommended to use the `Model`
/// derive macro instead.
// FIXME: that Clone requirement is not necessary, see problematic line below
pub trait Model: Clone + Sized + Send {
pub trait Model: std::fmt::Debug + Clone + Sized + Send {
type Row: QueryableByName<Pg> + Into<Self> + Send;
type Changeset: AsChangeset + Default + From<Self> + Send;
type Table: diesel::Table + Send;
Expand Down

0 comments on commit ff1e7dd

Please sign in to comment.