Skip to content

Commit

Permalink
Use Markdown list syntax for nicer rendering (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise authored and bruce committed Mar 8, 2017
1 parent f34405d commit 46a2587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/absinthe/middleware.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ defmodule Absinthe.Middleware do
Middleware can be placed on a field in three different ways:
1) Using the `middleware/3` callback in your schema.
2) Using the `Absinthe.Schema.Notation.middleware/2` macro used inside a field definition
3) Returning a `{:middleware, middleware_spec, config}` tuple from a resolution function.
1. Using the `middleware/3` callback in your schema.
2. Using the `Absinthe.Schema.Notation.middleware/2` macro used inside a field definition
3. Returning a `{:middleware, middleware_spec, config}` tuple from a resolution function.
### Terminology:
- "Middleware for a field": a list of middleware spec
Expand Down

0 comments on commit 46a2587

Please sign in to comment.