!types.ID field :version, types.String field :api_id, types.String … field :stats, -> { Types ::StatsType } field :image, -> { Types ::ImageType } field :skins, -> { Types ::SkinType.to_list_type } field :change, Types ::ChangeType do resolve -> (champion, _, _) { Resolvers ::ChangesResolver.(champion: champion) } end end