README.md in graphql-batch-0.2.0 vs README.md in graphql-batch-0.2.1
- old
+ new
@@ -46,10 +46,10 @@
Use the batch execution strategy with your schema
```ruby
MySchema = GraphQL::Schema.new(query: MyQueryType)
MySchema.query_execution_strategy = GraphQL::Batch::ExecutionStrategy
-MySchema.mutation_execution_strategy = GraphQL::Batch::ExecutionStrategy
+MySchema.mutation_execution_strategy = GraphQL::Batch::MutationExecutionStrategy
```
The loader class can be used from the resolve proc for a graphql field by calling `.for` with the grouping arguments to get a loader instance, then call `.load` on that instance with the key to load.
```ruby