Fix champ->type_de_champ n+1
This commit is contained in:
parent
10093f9150
commit
e74c32446e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module Types
|
|||
end
|
||||
|
||||
def champs
|
||||
Loaders::Association.for(object.class, :champs).load(object)
|
||||
Loaders::Association.for(object.class, champs: [:type_de_champ]).load(object)
|
||||
end
|
||||
|
||||
def annotations
|
||||
|
|
Loading…
Reference in a new issue