spec/graphql/schema/warden_spec.rb in graphql-1.6.4 vs spec/graphql/schema/warden_spec.rb in graphql-1.6.5
- old
+ new
@@ -118,10 +118,10 @@
Schema = GraphQL::Schema.define do
query QueryType
mutation MutationType
subscription MutationType
- resolve_type ->(obj, ctx) { PhonemeType }
+ resolve_type ->(type, obj, ctx) { PhonemeType }
instrument :query, FilterInstrumentation
end
module Data
UVULAR_TRILL = OpenStruct.new({name: "Uvular Trill", symbol: "ʀ", manner: "TRILL"})