lib/graphql/groups/schema/group_field.rb in graphql-groups-0.1.2 vs lib/graphql/groups/schema/group_field.rb in graphql-groups-0.1.3
- old
+ new
@@ -5,10 +5,9 @@
module Schema
class GroupField < GraphQL::Schema::Field
attr_reader :query_method
def initialize(query_method:, **options, &definition_block)
- # TODO: Make sure that users can access the context in custom query methods
@query_method = query_method
super(**options, &definition_block)
end
end
end