Commit d811004d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-n-plus-one-project-features' into 'master'

Remove N+1 queries when checking nodes visible to user

See merge request !11040
parents 6201f4c2 52d049b4
---
title: Remove N+1 queries in processing MR references
merge_request:
author:
...@@ -33,7 +33,8 @@ module Banzai ...@@ -33,7 +33,8 @@ module Banzai
{ namespace: :owner }, { namespace: :owner },
{ group: [:owners, :group_members] }, { group: [:owners, :group_members] },
:invited_groups, :invited_groups,
:project_members :project_members,
:project_feature
] ]
}), }),
self.class.data_attribute self.class.data_attribute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment