lib/chgk_rating/utils/transformations.rb in chgk_rating-1.0.0 vs lib/chgk_rating/utils/transformations.rb in chgk_rating-2.0.0
- old
+ new
@@ -71,9 +71,10 @@
end,
arrayboolean: ->(d) do
d&.map {|result| to_boolean.call(result)}
end,
team: chgk_object('Team'),
+ tournament: chgk_object('Tournament'),
player: chgk_object('Player'),
players: chgk_object('Players', 'Collections')
}.freeze
load_transformers!
\ No newline at end of file