Box::pin(async move {
let langs = local_user_language
.filter(local_user_id.eq(for_local_user_id))
+ .order(language_id)
.select(language_id)
.get_results(conn)
.await?;
site::table
.inner_join(local_site::table)
.inner_join(site_language::table)
+ .order(site_language::id)
.select(site_language::language_id)
.load(conn)
.await
let langs = site_language::table
.filter(site_language::site_id.eq(for_site_id))
+ .order(site_language::language_id)
.select(site_language::language_id)
.load(conn)
.await?;
let langs = community_language
.filter(community_id.eq(for_community_id))
+ .order(language_id)
.select(language_id)
.get_results(conn)
.await?;
# so to load the config we need to traverse to the repo root
export LEMMY_CONFIG_LOCATION=../../config/config.hjson
RUST_BACKTRACE=1 \
- cargo test --workspace --no-fail-fast
+ cargo test --workspace --all-features --no-fail-fast
# Add this to do printlns: -- --nocapture