rename Sources:ActiveRecord to Dataloader::Source

This commit is contained in:
João Geonizeli
2021-08-14 18:22:00 -03:00
parent f97e0ab1de
commit 98a2011445
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ module Types
field :currency, CurrencyType, null: false
def currency
dataloader.with(Sources::ActiveRecord, Currency).load(object.currency_id)
dataloader.with(Dataloader::Source, Currency).load(object.currency_id)
end
end
end