Trying to embed Torii directly in a Axum application state is not possible since SeaORMRepositoryProvider is not Clone. The underlying type should be safe to derive Clone.
As a workaround for now, Torii struct can be wrapped in another Arc to satisfy Clone.
Trying to embed Torii directly in a Axum application state is not possible since SeaORMRepositoryProvider is not Clone. The underlying type should be safe to derive Clone.
As a workaround for now, Torii struct can be wrapped in another
Arcto satisfy Clone.