README.md in grumlin-0.22.5 vs README.md in grumlin-0.23.0
- old
+ new
@@ -293,9 +293,17 @@
`query` also provides a helper for profiling requests:
`MyRepository.new.triangles_with_color(:red, query_params: { profile: true })`
method will return profiling data of the results.
+##### Middlewares
+
+Middlewares can be used to perform certain actions before and after every query made by `Grumlin`. It can be useful for
+measuring query execution time or performing some modification or validation to the query before it reaches the server or
+modify the response before client gets it.
+
+See [doc/middlewares.md](doc/middlewares.md) for more info and examples.
+
#### Transactions
Since 0.22.0 `Grumlin` supports transactions when working with providers that supports them:
```ruby
# Using Transaction directly