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.
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