refactor code to use Shrinkwraprs and diesel-derive-newtype
#598
Fusionnée
igalic
a fusionné 6 révision(s) à partir de refactor/shrinkwraps
vers master
il y a 5 ans
Chargement…
Référencer dans un nouveau ticket
Il n'existe pas encore de contenu.
Supprimer la branche 'refactor/shrinkwraps'
Supprimer une branche est permanent. Cela NE PEUVENT être annulées. Continuer ?
Reduce a lot of our own boilerplate with these two crates.
This fixes #597.
Codecov Report
@ -140,26 +140,12 @@ impl FromId<PlumeRocket> for Reshare {
let res = Reshare::insert(
&c.conn,
NewReshare {
I think you can even replace this block with just
&act.announce_props.object_link::<Id>()?
, it was only here to be able to convert the Id to a String (and same for other similar blocks).Relecteurs
8c59c822b6
.Étape 1:
Depuis le dépôt de votre projet, sélectionnez une nouvelle branche et testez les modifications.Étape 2:
Fusionner les modifications et mettre à jour sur Forgejo.