JSON type, needed for Dry::Types::Hash currently
10 11 12
# File 'lib/dry/graphql/types.rb', line 10 def self.coerce_input(str, _ctx) JSON.parse(str) end
14 15 16
# File 'lib/dry/graphql/types.rb', line 14 def self.coerce_result(obj, _ctx) JSON.dump(obj) end