Nutomic / ibis

GNU Affero General Public License v3.0
77 stars 5 forks source link

Have ObjectId implement diesel traits #11

Closed Nutomic closed 9 months ago

Nutomic commented 10 months ago

Then we could use it directly for db queries instead of converting back and forth to DbUrl. Would also allow to simplify the code for Lemmy.

This has to be implemented as a new feature in activitypub-federation-rus. Unfortunately the derives are not working because of the PhantomData field, so its probably necessary to implement traits manually.

Edit: https://github.com/LemmyNet/activitypub-federation-rust/pull/88