Transformer to get the first item of a collection
16 17 18
# File 'lib/realize/collection/first.rb', line 16 def transform(resolver, value, time, record) AtIndex.new(index: 0).transform(resolver, value, time, record) end