mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
build(deps): bump diesel to 2.2.3 and sqlx to 0.8.1 (#5688)
This commit is contained in:
@ -101,7 +101,10 @@ impl<'q, Type> Encode<'q, Postgres> for DBEnumWrapper<Type>
|
||||
where
|
||||
Type: DbType + FromStr + Display,
|
||||
{
|
||||
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> sqlx::encode::IsNull {
|
||||
fn encode_by_ref(
|
||||
&self,
|
||||
buf: &mut PgArgumentBuffer,
|
||||
) -> Result<sqlx::encode::IsNull, Box<(dyn std::error::Error + Send + Sync + 'static)>> {
|
||||
<String as Encode<'q, Postgres>>::encode(self.0.to_string(), buf)
|
||||
}
|
||||
fn size_hint(&self) -> usize {
|
||||
|
||||
Reference in New Issue
Block a user