We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19329e1 commit 947ad1fCopy full SHA for 947ad1f
lib/activities.ex
@@ -1347,6 +1347,7 @@ defmodule Bonfire.Social.Activities do
1347
opts
1348
) do
1349
objects
1350
+ # FIXME: this is causing n+1 queries for ap_activity when loading a feed with unknown-type remote posts
1351
|> Bonfire.Common.Repo.Preload.maybe_preloads_per_nested_schema(
1352
object_nested_under || activity_nested_under ++ [:object],
1353
preload_nested,
0 commit comments